This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: redefinition of typedef
- To: Dai ARAKI <araki at ics dot uci dot edu>
- Subject: Re: redefinition of typedef
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 11 Sep 1998 18:14:37 z
- Cc: egcs at cygnus dot com, egcs-patches at cygnus dot com, jason at cygnus dot com
- References: <199809101925.AA00224@araki.ics.uci.edu>
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