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

Don't throw a pedantic warning because of #warning #89

Merged
merged 2 commits into from
Aug 10, 2024
Merged

Conversation

jmcarcell
Copy link
Member

@jmcarcell jmcarcell commented Aug 10, 2024

I have enabled -Werror in CI to avoid people introducing more warnings. But I get a double warning with #warning so this should make CI pass. Apparently it is not possible to disable the warning about #warning being a GCC extension without removing -Wpedantic: https://stackoverflow.com/questions/16872923/how-to-disable-gcc-warning-about-the-warning-directive-being-a-gcc-extension

BEGINRELEASENOTES

  • Don't throw a pedantic warning because of #warning

ENDRELEASENOTES

@jmcarcell jmcarcell enabled auto-merge (rebase) August 10, 2024 17:05
@jmcarcell jmcarcell disabled auto-merge August 10, 2024 17:21
@jmcarcell jmcarcell enabled auto-merge (squash) August 10, 2024 17:21
@jmcarcell jmcarcell merged commit 526f542 into main Aug 10, 2024
5 of 7 checks passed
@jmcarcell jmcarcell deleted the warning branch August 10, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant