[GCC-XML] problem parsing struct declaration
Brad King
brad.king at kitware.com
Tue Oct 19 12:46:52 EDT 2004
Kang, Gene Y (N-Simulogix) wrote:
> So, is it safe to assume the following 2 structures will generate different results from GCCXML:
>
> typedef struct {
> int a;
> int b;
> int c;
>
> struct {
> int d_1;
> int d_2;
> } d;
>
> double e;
> } stuff_t;
>
> VS.
>
> typedef struct {
> int d_1;
> int d_2;
> } d_t
>
> typedef struct {
> int a;
> int b;
> int c;
> d_t d;
> double e;
> } stuff_t;
Yes, these two examples will produce different results from GCC-XML.
-Brad
More information about the gccxml
mailing list