
26 Jun
2004
26 Jun
'04
12:44 p.m.
Gennaro Prota <gennaro_prota@yahoo.com> 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