I have been using boost.build or b2 for building a project. I am trying to add C++11 contructs like auto
and begin
but the standard invokation b2 release
in the directory with the Jamfile does not recognize these.
相关问题
- thread_local variables initialization
- Google Test - generate values for template class i
- std::vector of objects / pointers / smart pointers
- correctly registering a plugin to use Eigen via Rc
- Set *both* elements and initial capacity of std::v
相关文章
- std::function copying parameters?
- Is a compiler forced to reject invalid constexpr?
- Custom pointer types and container/allocator typed
- How to fix a purported lack of an “explicit instan
- Ok to use std::getline() with a moved-from std::st
- How to specify gcc flags (CXXFLAGS) particularly f
- Templates, Function Pointers and C++0x
- Is it safe to use negative integers with size_t?
Added the following in Jamroot
Seems to be working
You need to tell the compiler to enable c++11 support
For example, for gcc you can use
(or the same command with
bjam
instead ofb2
; they are identical these days with thebjam
kept for backwards-compatibility.)