-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Numerous warnings when compiling CMOR #602
Labels
Milestone
Comments
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: