Skip to content
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 8 commits into from
Nov 25, 2022
Merged

Conversation

nilason
Copy link
Contributor

@nilason nilason commented Nov 17, 2022

This adds -Wall compiler warning flag to the "GCC C/C++ standards checks" CI builds.

There are two exceptions:

  1. -Wno-maybe-uninitialized which will be resolved with lib/cdhc: remove Cdhc_enormp() #2640, and
  2. -Wno-class-memaccess which is an obscure (for me at the moment) C++ warning is 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.

@nilason nilason marked this pull request as ready for review November 17, 2022 18:46
@nilason
Copy link
Contributor Author

nilason commented Nov 17, 2022

Opening this for review.

@nilason 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
@neteler neteler added this to the 8.3.0 milestone Nov 18, 2022
@nilason
Copy link
Contributor Author

nilason commented Nov 21, 2022

The -Wclass-memaccess warning is addressed with #2660.

@nilason
Copy link
Contributor Author

nilason commented Nov 24, 2022

If there are no objections, I'll soon merge this one.

@nilason nilason merged commit 20c8830 into OSGeo:main Nov 25, 2022
@nilason nilason deleted the ci_add_wall branch November 25, 2022 08:49
@nilason
Copy link
Contributor Author

nilason commented 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants