You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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 -std=c++20 but also for some versions of clang -std=c++2a which should be almost the same thing. If you add /std:c++20 style of msvc the matrix becomes pretty hard to manage. Then, we had a but in the option parsing which made it very difficult to debug what the user thought it passed and what the interpreter actually was running with. That is very problematic when debugging ABI issues with libraries which are compiled with one version but you don't really know which version your system is running on.
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #348
Type of change
Please tick all options which are relevant.