-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Use DOCTEST_* compiler macros and suppress pragmas warning #3550
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
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
nlohmann
left a comment
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-constructinunit-items.cppcauses GCC<11 to warn about pragmas.