|
Boost-Build : |
Subject: [Boost-build] [requires] cxx11_variadic_macros
From: Raffi Enficiaud (raffi.enficiaud_at_[hidden])
Date: 2015-10-13 11:41:46
Hi all,
I have the following requirement on my bjam:
requirements_boost_test = [ requires cxx11_variadic_macros ] ;
When I compile it on clang/OSX, in C++03 mode, I have this:
../../../b2
- Boost.Config Feature Check: cxx11_variadic_macros : yes
- Boost.Config Feature Check: cxx11_decltype : no
- Boost.Config Feature Check: cxx11_hdr_random : yes
- Boost.Config Feature Check: cxx11_hdr_tuple : no
- Boost.Config Feature Check: cxx11_hdr_initializer_list : no
When I compile it on clang6/OSX, in C++11 mode, I have this
../../../b2 cxxflags="-stdlib=libc++ -std=c++11"
linkflags="-stdlib=libc++"
- Boost.Config Feature Check: cxx11_variadic_macros : yes
- Boost.Config Feature Check: cxx11_decltype : yes
- Boost.Config Feature Check: cxx11_hdr_random : yes
- Boost.Config Feature Check: cxx11_hdr_tuple : yes
- Boost.Config Feature Check: cxx11_hdr_initializer_list : yes
The cxx11_variadic_macros is active for both configuration, but the
variadic macros are not available with the "b2" toolset configuration.
When it says cxx11_variadic_macros, I believe it does not try to compile
with C++11 mode.
How would I detect properly the support for variadic macros?
Thanks,
Raffi
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk