There are several places where #ifdef __MWERKS__ is used for
Mac-specific stuff, which of course fails in XCode. I would suggest #if
TARGET_OS_MAC instead (defined in /usr/include/TargetConditionals.h).
This makes me wonder, is BOOST_MSVC a reliable value for Windows? The
name suggests not.
There are also places, such as in ui_core_implementation.hpp, where the
## symbol follows a <, ( or ::, and the compiler complains that the
pasting doesn't result in a legal token - like "<CFStringRef". Adding a
space fixes it, but I don't see that the ## is necessary anyway in
these cases.
--
David Catmull
unc...@un...
http://www.uncommonplace.com/
|