[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:


but AFAIK no progress has been made since then.

I suggest looking at Clang and its libraries:


as an alternative.


More information about the gccxml mailing list