
15 Dec
2005
15 Dec
'05
11:54 p.m.
Clearly, the problem here is in Metrowerks' standard library, but Boost.Test needs a work-around. The fact that changing a Boost.Test header file makes xpressive's tests pass seems to prove it. I don't know what the work-around is, and I don't have the platform, so I can't submit a patch. Sorry. But it might be as simple as something like:
#if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3206)) # include </usr/include/unistd.h> # include </usr/include/signal.h> # include </usr/include/setjmp.h> #else # include <unistd.h> # include <signal.h> # include <setjmp.h> #endif
Which platforms Metrowerks supply it's compiler for? Does it work on NT or Mac? Gennadiy