-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Remove incorrect C++20 check from test/CMakeLists.txt #2663
Conversation
bf9f553
to
f5070a6
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.
std-format-test
is incompatible with C++20 so the check should be preserved but possibly moved to a place where it only applies to this test.
I've disabled |
@vitaut, I suggest merging this PR to some temporary branch, where you can apply needed changes for |
I removed |
It disables entire branch of tests declaration unconditionally because CXX_STANDARD is not defined there. But even we use CMAKE_CXX_STANDARD here, these tests should not be disabled with standard >= C++20.
f8250b2
to
d324b4b
Compare
Rebased. |
Thank you |
This check disables entire branch of tests declaration unconditionally because
CXX_STANDARD
is not defined there. But even if we useCMAKE_CXX_STANDARD
there, these tests should work for standards ≥20 too, IMHO.Here are the tests:
std-format-test
(now removed)noexception-test
nolocale-test
compile-error-test
std-format-test
does not compile after enabling it, since it's either outdated or should still be disabled. @vitaut, could you explain what should be done with it?