[GCC-XML]gccxml and standard header problem

Brad King brad.king at kitware.com
Thu Sep 4 13:08:52 EDT 2003


> I am running into a problem when invoking gccxml against test.h (the
> contents of which are included below).

> I notice that 'junk' is v.large and It looks as though gccxml is
> attempting to generate xml for iostream.  Is there a way of telling
> gccxml not to generate xml for the likes of iostream?

There is no way to tell it to dump a particular file, but you can specify
a starting namespace, class, or function like this:

gccxml -fxml=out.xml -fxml-start=echo test.h

> /home/jason/src/boost-1.30.2/libs/python/devel/test: gccxml.exe
> -fxml=junk --debug --gccxml-compile r g++ test.h > foo

Please send me the preprocessed output of test.h using g++:

g++ -x c++ -E test.h

-Brad




More information about the gccxml mailing list