Subject: Re: [boost] [predef] Announce: Build time configurationforPredefdefs.
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-28 11:19:09
Rene Rivera wrote:
> Actually it would be "multiple expressions can be specified as individual
> string arguments"..
> [ predef-require "BOOST_COMP_MSVC <= 15.0.0" "BOOST_COMP_MSVC >= 12.0.0" ]
Right, I misinterpreted your code.
> Having said that.. I'm willing to add more complex expression support if
> there's enough demand :-)
To replace the explicit failures markup, we need a way to say "do not run
this test on gcc-4.4, gcc-4.5, gcc-4.6, msvc-8.0, msvc-10.0", and it seems
that we're either going to need logical operations for that, or a rule that
is the opposite of predef-require, something like
[ predef-disable-if "BOOST_COMP_GCC == 4.4" "BOOST_COMP_GCC == 4.5"
"BOOST_COMP_GCC == 4.6" "BOOST_COMP_MSVC == x.0" "BOOST_COMP_MSVC == y.0" ]
where x is whatever corresponds to msvc-8.0 and y - to msvc-10.0 :-)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk