[bjam] if MSVC 7.1 or 8.0 compile-fail

Hello all, If there a way to program the following within a Jamfile? import testing ; if(MSVC 7.1 or MSVC 8.0) { # How do I program this? [ compile-fail native_tu_test.cpp native_tu1.cpp native_tu2.cpp : : : <define>BOOST_TYPEOF_NATIVE ] } else { [ run native_tu_test.cpp native_tu1.cpp native_tu2.cpp : : : <define>BOOST_TYPEOF_NATIVE ] } Thanks a lot. --Lorenzo -- View this message in context: http://boost.2283326.n4.nabble.com/boost-bjam-if-MSVC-7-1-or-8-0-compile-fai... Sent from the Boost - Dev mailing list archive at Nabble.com.

AMDG On 01/13/2012 11:20 AM, lcaminiti wrote:
Hello all,
If there a way to program the following within a Jamfile?
import testing ;
if(MSVC 7.1 or MSVC 8.0) { # How do I program this? [ compile-fail native_tu_test.cpp native_tu1.cpp native_tu2.cpp : : : <define>BOOST_TYPEOF_NATIVE ] } else { [ run native_tu_test.cpp native_tu1.cpp native_tu2.cpp : : : <define>BOOST_TYPEOF_NATIVE ] }
Thanks a lot. --Lorenzo
Normally, for the regression tests, it's better to use only run and mark the test as an expected failure for specific compilers. In Christ, Steven Watanabe
participants (2)
-
lcaminiti
-
Steven Watanabe