Open mauzey1 opened 4 years ago
Yes, I agree it would be best to "fix" these, but suggest this might not be a high priority. Thanks for opening the issue.
@mauzey1 it would be useful to gauge what "easy" fixes can be incorporated for the CMOR 3.9.0 planned release
When CMOR is built using
make
, the C compiler will output many warnings. A lot of them are related to snprintf, which is due to the destination string potentially being not long enough to store the entire string being generated.Some are due to comparisons between different data types.
Some are due to function declarations that should be prototypes in the header files. Functions that don't have parameters should be declared with
(void)
instead of()
.Although we could suppress these warning messages, it would be better to fix these issues in the code.