Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-06-26 07:44:35


Gennaro Prota <gennaro_prota_at_[hidden]> writes:

> Hi,
>
> is it allowed/OK to use BOOST_WORKAROUND in the boost test files? Or
> should we simply use #if/#ifdef?
>
> For instance, Codewarrior 8.3 for Windows has some problems in parsing
> a function template in dyn_bitset_unit_tests4.cpp. A simple fix,
> suggested by Howard, is:
>
> #ifdef __MWERKS__ // will be: __MWERKS__ && __MWERKS__ <= xxx
> #pragma parse_func_templ off
> #endif
>
> Should this use BOOST_WORKAROUND? In general:
>
> What should compiler/library vendors see when they define
> BOOST_STRICT_CONFIG? Just errors in the boost headers or errors in the
> test files too?

I think they should see any errors (in their own code) that we can
show them.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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