-
Notifications
You must be signed in to change notification settings - Fork 99
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
CMAKE_CXX_STANDARD=14 leads to -std=c++1y instead of -std=c++14 when compiling ROOT #1226
Comments
Also, it seems that CXX_STANDARD above 14 is not supported yet in the sandbox. |
Use a version of GCC which actually supports the C++14 standard? See https://gcc.gnu.org/projects/cxx-status.html#cxx14 |
So this should be solved with |
How should I do this in wizard mode? |
Yes
When you're asked "Do you want to customize the set of compilers?" you have to answer yes: BinaryBuilder.jl/src/wizard/obtain_source.jl Line 382 in c3ab910
|
Thanks! |
I have never used that option before. |
To reproduce, use the wizard to compile
https://root.cern/download/root_v6.26.06.source.tar.gz
No other dependencies are needed for now.
In
srcdir
, run the command:And from the printed information, it can be seen that C++ flag is
-std=c++1y -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O3 -DNDEBUG
But when I did this on my local system (Ubuntu 22.04), the flag is
-std=c++14 -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O3 -DNDEBUG
So I think there is something wrong with the environment provided by BinaryBuilder. But currently, I do not know the root cause of this.
The text was updated successfully, but these errors were encountered: