Boost logo

Boost :

Subject: Re: [boost] [bjam] if MSVC 7.1 or 8.0 compile-fail
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-01-13 14:30:04


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


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