[ptx] OSX with XCode

Guillaume Filion gfk at logidac.com
Sun Jul 25 22:15:58 BST 2004


Le 04-07-15, à 20:44, Guillaume Filion a écrit :
> But now I can't compile hugin anymore, I have the same problem that
> Axel has with boost! 8-( And I can't figure out what I changed before 
> it stopped working! Aarg!
>
> http://www.email-lists.org/pipermail/ptx/2004-June/001713.html

Ha, I got it! It's a redefinition of a macro present in boost and 
Apple's code:
-----
 > I'm trying to compile boost 1.3.0 using the CodeWarrior 9.2 compiler 
on
 > Mac OS X (10.3.3).  I've run into a weird error:

Put this in your prefix file:

#include <AssertMacros.h>
#undef check

and curse Apple. Also, there are a few other sketchy macros in 
AssertMacros.h
that you may want to under, but I forget their names.
-----
Ref: http://lists.boost.org/MailArchives/boost-users/msg06726.php

I put the fix into 
/sw/include/boost-1_31/boost/type_traits/is_base_and_derived.hpp and I 
got rid of the problem. I still can't compile but that's another 
story...

Best,
GFK's
-- 
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/



More information about the ptX mailing list