|
Boost : |
Subject: Re: [boost] sun toolset buggy and outdated?
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-03-28 04:08:16
On 3/27/2015 6:39 AM, John Maddock wrote:
>
>> No.
>>
>> Do you mean <linkflags>-std=c++11 ? Or something else to tell it what
>> library to use ?
>>
>
> Steven is correct - you need to pass -std=c++11 (or whatever) to the
> linker as well as the compiler.
Thanks, I discovered that was the situation.
>
> Note that this is much improved in Git develop where the sun toolset now
> has inbuilt features for the various std lib's see
> https://github.com/boostorg/build/commit/259f7f7a96eed7ffb9f8a10f555b7aaa6f73f2ed.
> Unfortunately for C++ 11 mode you still need to add an explicit
> -std=c++11 via cxxflags :(
Are the inbuilt features in sun.jam for the various std lib's meant to
be used by the end-user in any way ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk