-
Notifications
You must be signed in to change notification settings - Fork 36
Replace runtime C++ version detection with compile-time extraction from argv #349
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #349 +/- ##
==========================================
+ Coverage 81.78% 81.81% +0.02%
==========================================
Files 20 20
Lines 950 957 +7
Branches 87 89 +2
==========================================
+ Hits 777 783 +6
- Misses 173 174 +1
🚀 New features to boost your workflow:
|
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.
clang-tidy made some suggestions
Thanks for the review ! |
This is incorrect. Please revert this because that makes sure that we the implementation agrees with the flags. |
Hi Vassil, not sure to get it. Does that mean that even if the kernel passes the standard version to use to CppCompiler, this latter might use a different version for any reason? Meaning the resulting standard used is different from the specified one? |
Hi Johan. We can have That's why we implemented this approach where we really ask the interpreter runtime what version of c++ it really has. It's a bit annoying but saves a lot of effort if something slightly goes wrong (as it did in the past). |
Description
Fixes #348
Type of change
Please tick all options which are relevant.