-
Notifications
You must be signed in to change notification settings - Fork 2
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
cxxflags not propagated to all compilation commands #14
Comments
The compiler implicitly runs the (Both the |
|
I have seen that error before, but I'm not sure what it is. One likely issue is that you didn't explicitly specify the Boost header search path, and the default (likely system installation) might be too old. |
Looks like we are on the right track, getting closer and closer:
So, my I somewhat assumed the Boost default location is configured in |
Very nice ! No, I deliberately refrained from using any default, as my normal use-case is to build libraries out-of-tree. Given that this is all Python code, it's certainly possible to compute the default assuming this is in-tree, or checking whether it is in-tree and then setting the default accordingly. |
No problem, as long as I know what command line arguments to use :) To summary, AFAIU, since GIL requires C++11, I should be able to build with just this:
that is, without need to specfiy the C++ version in command line. Correct? |
As long as the default compiler found by |
But, can we have |
Yeah, surely. It's a bit tricky, though, for once, because some compilers such as MSVC still don't qualify as C++11 (in the strict sense that they don't define |
Configuration
Using the fabscripts in the current Boost.GIL
develop
:Problem
Since GIL requires C++11, but fabscripts do not specify the required language version, I follow the example
faber/examples/config/fabscript
Line 16 in 7377844
running
faber cxxflags=-std=c++11
:The commands logging
suggest,
-std=c++11
is missing from the command line compilingpixel.cpp
.Questions
C++11
requirement should be specified? Top-levelfabscript
like thisfeatures += include('-std=c++11')
?features=cxxflags('--std=c++11')
and other examples? Is it Faber thing or a typo and it should read-std=c++11
?The text was updated successfully, but these errors were encountered: