-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Run CMake with -Werror=dev in CI #7322
Conversation
For MinGW builds, the Disabling warnings or errors for third-party CMake code isn't trivial. The warning-as-error feature is controlled by the undocumented cache variables |
@DomClark +1 on the PR. FWIW, |
Configure warnings (more than just this one):
|
These are known about, and are in third-party code that I'm not trying to fix. See my comment above. |
This causes CMake warnings (including
AUTHOR_WARNING
andDEPRECATION
level messages) to be reported as errors, which means that all CMake warnings must be fixed for CI to pass. See the CMake documentation for this flag.