[GCC-XML] fail on gcc-4.4 <tr1/tuple>

Brad King brad.king at kitware.com
Thu Jun 4 20:19:24 EDT 2009


Maik Beckmann wrote:
> I've built gccxml from CVS-HEAD with gcc-4.4.  
> 
> Some code of mine includes <tr1/tuple>.  gccxml chokes with
> $ echo "#include <tr1/tuple>" > foo.hpp
> $ LC_ALL=C gccxml foo.hpp > log 2>&1 
>   log: http://pastebin.com/f65525303
> 
> As one can see from the log gcc-4.4's tr1/tuple happens to use c++0x variadic
> templates.  But g++ in non c++0x mode runs fine

This is not surprising.  Internally gccxml uses a patched
gcc 4.2 parser, so there are very few C++0x features.
Currently C++0x support is not a design goal for gccxml.

-Brad



More information about the gccxml mailing list