-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Compiler warnings with C++ compilation #77
Comments
First investigation:
|
Ok, I have more PRs in the pipeline to step-by-step resolve 1) and 2). However, they build upon #79 so I will wait until that one is merged. |
@efiring responding to the comment in #80 We could modify the tests to run ninja -v directly (instead of meson compile or meson test)
This is after #80, otherwise you'd see the -Wall and -Wextra Would you prefer this output? If so, I'll create a PR |
Thx for merging. If I didn't miss anything, the warnings are now resolved. a) One possibility would be to not test shared and static libraries for all configurations. b) Additionally: renaming the test cases may help to increase the overview. Suggestions welcome. I'll look into these 2 steps, but I'll first have to focus on other projects again, so it may take some time. |
Additionally, we could consider forcing the compiler to treat warnings as errors? |
No rush at all for additional changes. |
C++ compilation triggered by the vast number of tests introduced in #71 and #75 yields a flood of warnings in the compilation logs. They come mostly from gsw_check_functions.c; I suspect one or two small changes in that file, repeated in many places, might clear up most of them, but I have not looked closely. There are so many compilations and logs that it is hard to keep track of which runs are clean and which show the warnings, but I think the warnings might be specific to the meson builds--for which the logs don't show the actual compiler invocations.
There are at least 2 questions here:
The text was updated successfully, but these errors were encountered: