Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-12 15:29:55


Hi,

I have a workaround which I want to apply to all known versions of GCC but not
to future versions unless I later determine that it is necessary. Currently I
have something like this:

 #if !defined(BOOST_INTEL) && ( BOOST_WORKAROUND(__GNUC__, <= 3) || \
     BOOST_WORKAROUND(__GNUC__, == 4) && \
     BOOST_WORKAROUND(__GNUC_MINOR__, BOOST_TESTED_AT(0)) ) \
     /**/
 ...
 #endif

but I can see from the regression reports that GCC 4.0 is not picking up the
workaround code.

What am I doing wrong?

Jonathan

.


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