[GCC-XML] gccxml 0.9 and C++0x
Brad King
brad.king at kitware.com
Wed Oct 15 11:42:29 EDT 2008
Stefan Roiser wrote:
> I started to try to parse some new headers of gcc 4.3(.2) like e.g.
> <unordered_map> with a gccxml snapshot from 2008 Oct 10 - this forced me
> to pass " -std=c++0x " to the gccxml invocation, the result were a
> number of errors because of missing builtins, the use of a new
> __attibute__ "__aligned__" in "type_traits" and the usage of the new
> C++0x syntax for "rh values" and "variadic templates"
Supporting C++0x is not currently a goal, but it will be in the future
(such as when the 'x' is an actual digit). I'm willing to accept
patches though :)
> Solving the builtins and the __attribute__ issues was quite easy, I
> attach a proposal with a diff and change in type_traits.
Thanks. Please open an issue in the bug tracker and attach your patch:
http://www.gccxml.org/Bug
> Concerning the new C++0x syntax I guess this would mean upgrading the
> internal gcc of gccxml to version 4.3? I believe at the moment there is
> not (yet) a need for this in our group but would this upgrade be
> possible in the future?
It is a substantial effort to update the internal gcc version. I've
done it a couple times before (to 3.3 and then 4.2). Someday it may
happen, but not for a while.
-Brad
More information about the gccxml
mailing list