Boost logo

Boost :

From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2004-06-26 04:03:13


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?

--
Genny.

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