model_based_scenery.cpp:577:46: warning: 'temp_heightdata' may be used uninitialized in this function
bug at launch in fedora 28
Fixed by fixing #41.
Patch accepted and applied. Thanks for your support!
crrcsim crashes at src/crrc_sound.cpp:319
Fix issue #41 (thanks go to Jan Yenya Kasprzak for the patch)
I don't really understand this warning. I'm using snprintf to explicitly truncate the output at the end of the buffer, yet I receive a warning that output is truncated? Hmm, I tend to disable this warning. The other option would be to enlarge the target buffer by setting OSVERSIONSTRINGBUFFERLEN (line 91) to something like 256 or 512. Could you please try if that helps?
model_based_scenery.cpp:577:46: warning: 'temp_heightdata' may be used uninitialized in this function