[GCC-XML] runs py++ on mac osx 10.6.2
brad.king at kitware.com
Mon Mar 8 08:44:10 EST 2010
Massimo Di Stefano wrote:
> 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.
More information about the gccxml