On 8/29/06, Dan Hipschman dsh@linux.ucla.edu wrote:
I need to generate names for tagless structs, etc., because my patch changes the way typedefs are output in the header file. Currently,
typedef struct { int x; } foo, bar;
will be output exactly as is in the header (disregarding whitespace changes). However, this patch splits the typedefs up like this:
typedef struct { int x; } foo; typedef struct ??? bar;
This is why we need the generated names.
I think we might need them anyway; standard C++ is very picky, and requires tags in more circumstances than one would like.