Boost logo

Boost Testing :

Subject: Re: [Boost-testing] Teeks clang tests all C++98?
From: Niklas Angare (li51ckf02_at_[hidden])
Date: 2017-02-28 09:30:00


Tom Kent wrote:
> On Thu, Feb 23, 2017 at 2:17 AM, Niklas Angare via Boost-Testing <
> boost-testing_at_[hidden]> wrote:
>
>> "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" ;
>>
>
> Thanks! I'll go start rebuilding the docker images with an updated
> user-config.jam.
>
> Do you know where this is documented so I can reference it?

It's mostly documented here:
http://www.boost.org/build/doc/html/bbv2/reference/tools.html

Regards,

Niklas Angare
 


Boost-testing list run by mbergal at meta-comm.com