Boost logo

Boost :

Subject: Re: [boost] [test] Any dependency on Boost.Test requires C++11 ?
From: John Maddock (boost.regex_at_[hidden])
Date: 2013-03-18 08:02:51


> At present any test in Boost.Math that depends on Boost.Test fails for GCC
> prior to 4.5 because the build script for Boost.Test has:
>
> <toolset>gcc:<cxxflags>-std=gnu++0x
>
> Is this really required?
>
> It looks wrong headed to me:
>
> * We already have testers that test both C++03 and C++11 modes - so we
> don't need this to test C++11 support.
> * It's presence makes testing gcc in C++03 mode impossible if the library
> uses Boost.Test - so there may be C++03 breakages that we don't know about
> because of this.
> * As mentioned above, this is a hard error for GCC prior to 4.5, so those
> compilers can't be tested either.
>
> Can this be safely removed?
>
>I have experimenting regression that disappear when this line is commented.
>This line must be removed. Could I commit it?

Confirmed. As Gennadiy hasn't responded I've gone ahead and committed the
change.

John.


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