-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Use DOCTEST_* compiler macros and suppress pragmas warning #3550
Use DOCTEST_* compiler macros and suppress pragmas warning #3550
Conversation
For reference: |
a346466
to
88904ff
Compare
Use DOCTEST_* macros in place of predefined compiler macros for compiler detection and version checks. The suppression of warning -Wrange-loop-construct in unit-items.cpp causes GCC<11 to warn about pragmas. Suppressed by adding a version check.
88904ff
to
a0801ba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks! |
Use
DOCTEST_*
macros in place of predefined compiler macros for compiler detection and version checks.The suppression of warning
-Wrange-loop-construct
inunit-items.cpp
causes GCC<11 to warn about pragmas.