[GCC-XML] Question on type definitions included by parsed file

Brad King brad.king at kitware.com
Fri Jul 29 09:09:36 EDT 2005


Mike Stoddart wrote:
> I'm using gccxml to parse a file, that includes another header. This
> second header includes a typedef for things like unsigned short, for
> example:
> 
> typedef unsigned short		u16;
> 
> When I run gccxml, it creates a type with an ID of _919, but it never
> creates the fundamental type for u16. So when my tool runs, it can
> never resolve a type of _919 to u16. If that makes sense.
> 
> Is there something special I have to do?

What version of GCC-XML are you running?  Is _919 a Typedef or a 
FundamentalType?

-Brad



More information about the gccxml mailing list