Boost logo

Boost :

Subject: Re: [boost] PSA: Travis OS X bottleneck, <cxxstd> new Boost.Build feature
From: Peter Dimov (lists_at_[hidden])
Date: 2017-10-29 11:58:22


Andrey Semashev wrote:
> On 10/26/17 19:43, Peter Dimov via Boost wrote:
> >
> > On a not entirely unrelated note, Rene Rivera has added a new feature
> > <cxxstd> to Boost.Build that controls the C++ standard in use. So for
> > instance, instead of the old
> >
> > b2 libs/mylib/test toolset=gcc cxxflags=-std=c++11
> >
> > one can now use
> >
> > b2 libs/mylib/test toolset=gcc cxxstd=11
>
> Sounds great. Does it always expand to c++XX or is there a way to specify
> gnu++XX?

gnu++XX can be requested with `cxxstd=XX cxxstd-dialect=gnu`.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk