|
Boost : |
Subject: Re: [boost] [test] Any dependency on Boost.Test requires C++11 ?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2013-03-18 06:23:33
> -----Original Message-----
> From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Vicente J. Botet Escriba
> Sent: Saturday, March 16, 2013 2:18 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] [test] Any dependency on Boost.Test requires C++11 ?
>
> Le 15/03/13 11:54, John Maddock a écrit :
> > 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?
I'd welcome it if some of the many failures in Boost.Math regression list on a few gcc platforms can
be avoided.
Paul
PS Perhaps adding a new section of 'Work in progress' on
https://svn.boost.org/trac/boost/wiki/Guidelines would be the best place for GCC C++ language
specification in relation to Boost?
I have taken the liberty of adding Chris's 'knowledge' to
https://svn.boost.org/trac/boost/wiki/Guidelines/GCCBoost
This is a wiki so others can add in their two-pennyworth...
--- Paul A. Bristow, Prizet Farmhouse, Kendal LA8 8AB UK +44 1539 561830 07714330204 pbristow_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk