[GCC-XML] gccxml and the latest GCC

Brad King brad.king at kitware.com
Tue Jun 18 08:05:39 EDT 2013


On 06/18/2013 05:41 AM, Trevor wrote:
> I am trying to use gccxml on a large code base to produce XML descriptions of 
> the individual header files. However, I am running into a problem compiling 
> code written in the latest C++11.

gccxml is currently based on GCC 4.2's parser and there is no C++11 support.

The --gccxml-compiler option is only for simulating the preprocessor of
another compiler.

There is discussion about updating the internal parser here:

 http://thread.gmane.org/gmane.comp.compilers.gccxml/658

but AFAIK no progress has been made since then.

I suggest looking at Clang and its libraries:

 http://clang.llvm.org/

as an alternative.

-Brad



More information about the gccxml mailing list