[GCC-XML] runs py++ on mac osx 10.6.2
Brad King
brad.king at kitware.com
Mon Mar 8 08:44:10 EST 2010
Massimo Di Stefano wrote:
> http://paste.debian.net/62716/
>
> have you any clue on what'swrong ?
> the same example file works fine on linux,
> so i guess my py++ installation on osx is broken :'(
>
> Is it possible that for some reason gccxml uses Objective C/C++ headers?
gccxml detects the include path used by the target compiler
and simulates its preprocessor. If that ends up including
Objective C/C++ code then it won't know the difference.
You can use the "--print" or "--debug" option to gccxml to
see what it detects about the target compiler.
-Brad
More information about the gccxml
mailing list