28 Jan
2015
28 Jan
'15
4:55 p.m.
Rene Rivera wrote:
But to get what you want you just need to convert the logical expression to:
[ predef-require "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" ]
De Morgan to the rescue! But I'm not sure even he can solve everything. What if I want to disable the test for all gcc <= 4.6 and for all msvc <= 10.0, which is actually the more common case? [ predef-check "BOOST_COMP_GCC <= 4.6" "BOOST_COMP_MSVC <= y.0" : : <build>no ], I suppose.