Boost logo

Boost Users :

From: Marshall Clow (marshall_at_[hidden])
Date: 2005-09-15 14:54:53


>Hi all,
>
>I just updated from boost 1.32.0 to 1.33.0 for a CodeWarrior MSL/carbon
>project under Mac OS X. There were several build errors stemming from
>the fact that "check" is already defined in /usr/include/AssertMacros.h.
>For now I dealt with this my modifying my copy of the boost libraries to
>substitute _check for check. This is of course an ugly solution, but I
>wanted to move forward.

What I do is in my precompiled header (after including
<Carbon/Carbon.h>, I have the following lines:

#undef check
#undef require
#undef nrequire

<Editorial and historical comments about those macros deleted>

-- 
-- Marshall
Marshall Clow     Idio Software   <mailto:marshall_at_[hidden]>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net