-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
ci: add -Wall to GCC C/C++ standards checks #2657
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Opening this for review. |
nilason
added
enhancement
New feature or request
CI
Continuous integration
C
Related code is in C
C++
Related code is in C++
labels
Nov 17, 2022
The |
If there are no objections, I'll soon merge this one. |
marisn
approved these changes
Nov 25, 2022
@marisn Thanks! |
ninsbl
pushed a commit
to ninsbl/grass
that referenced
this pull request
Feb 17, 2023
marisn
pushed a commit
to marisn/grass
that referenced
this pull request
Jun 2, 2023
neteler
pushed a commit
to nilason/grass
that referenced
this pull request
Nov 7, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C
Related code is in C
C++
Related code is in C++
CI
Continuous integration
enhancement
New feature or request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds
-Wall
compiler warning flag to the "GCC C/C++ standards checks" CI builds.There are two exceptions:
-Wno-maybe-uninitialized
which will be resolved with lib/cdhc: remove Cdhc_enormp() #2640, and-Wno-class-memaccess
which is an obscure (for me at the moment) C++ warningis addressed with r.terraflow: use default #2660.Both can be removed, when fixed. Until then, all other new potential warnings will be detected in time.