|
Boost Testing : |
Subject: Re: [Boost-testing] Teeks clang tests all C++98?
From: Niklas Angare (li51ckf02_at_[hidden])
Date: 2017-02-23 08:17:23
"Tom Kent via Boost-Testing" <boost-testing_at_[hidden]> wrote:
> On Wed, Feb 22, 2017 at 1:16 PM, John Maddock via Boost-Testing <
> boost-testing_at_[hidden]> wrote:
>
>> Nearly all the Teeks clang tests are in C++98 mode in-spite of their
>> names
...
> Hmm, that's alarming. Any clang or user-config.jam experts out there who
> can tell me what switches are needed to get C++11/14/1x/1y/1z/etc support
> to turn on?
I believe you need to add <cxxflags> or <compileflags> plus quotes to
user-config.jam.
Example:
using clang : 3.5~c++14 : clang++-3.5 :
<cxxflags>"-Wno-c99-extensions -std=c++14" ;
Regards,
Niklas Angare