-
Notifications
You must be signed in to change notification settings - Fork 38
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
Build with libc++, C++20 #597
Conversation
Codecov Report
@@ Coverage Diff @@
## master #597 +/- ##
=======================================
Coverage 98.25% 98.25%
=======================================
Files 63 63
Lines 9224 9224
=======================================
Hits 9063 9063
Misses 161 161 |
-Wno-return-std-move-in-c++11 | ||
-Wno-switch-enum | ||
) | ||
if(CMAKE_CXX_COMPILER_ID MATCHES Clang) |
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.
This is unrelated. I originally thought that I will add -DLIBCXX
option here, but turned out toolchain file is needed.
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.
So what about this change then?
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.
The change is correct because -Weverything
makes sense only for Clang.
|
clang-11, libc++-11
fromclang-10, libstdc++
.