[GCC-XML] gccxml strange preprocessor bug

Brad King brad.king at kitware.com
Sun May 14 22:43:55 EDT 2006


Neal Becker wrote:
> Looks like gccxml bug with preprocessor
> 
> gcc -dD -fsyntax-only -I"." -I"/usr/local/src/boost.cvs" -U"__MINGW32__" 
> "/usr/local/src/boost.cvs/libs/random/random_test.cpp" -E > stuff
> 
> /usr/bin/gccxml -I"." -I"/usr/local/src/boost.cvs" -U"__MINGW32__" 
> "/usr/local/src/boost.cvs/libs/random/random_test.cpp" 
> -fxml="/usr/local/src/pygccxml/pyplusplus_dev/examples/pyboost_dev/pyboost/random/generated/random_test.xml" 
> -E > stuff2
[snip]
> Now, believe it or not (I tried it twice!), if I just add '-dD' to gccxml 
> command, now it looks OK:

Perhaps that is because you specify -dD in the non-gccxml command.

-Brad



More information about the gccxml mailing list