redefinition of typedef

Alexandre Oliva oliva@dcc.unicamp.br
Fri Sep 11 17:54:00 GMT 1998


Dai ARAKI <araki@ics.uci.edu> writes:

> Redefinition of "typedef" (the definitions are the same) in my source code 
> causes compile error on egcs-1.1

Yup, this is a bug in the way egcs handles redefinition of complex
typedefs.  For simple types, it appears to work, but it fails for
redefinition of typedefs that depend on other redefined typedefs.

typedef int t;
typedef t* u;
typedef int t;
typedef t* u;

Jason, may I install this in the testsuite?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc mailing list