Thanks for the info. Guess we'll just make do without the typedef. Matt
-----Original Message----- From: Brad King [mailto:brad.k...@kitware.com] Sent: Monday, May 18, 2009 9:55 AM To: Matt Grasse Cc: gccxml@gccxml.org Subject: Re: [GCC-XML] types for members incorrect when mixing typdef and templated classes Matt Grasse wrote: > typedef class A<bool> foobar; > > template <typename T> class Z > { > public: > // x does not get the type 'foobar' but instead gets the type 'class > A<bool>' > foobar x; > T ; > }; This is a well-known problem and it cannot be fixed. GCC's parser throws out the typedef so the xml dump can't see it. The same thing happens when error messages get reported in pure GCC. The gcc devs cannot agree on whether messages with the typedef names or with the real types are more useful. Any attempt to bring up discussion on this has failed to achieve anything but preservation of the status-quo. -Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml