Subject: Re: [boost] sun toolset buggy and outdated?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2015-03-27 06:39:46


> 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.

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 :(

HTH, John.