This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/4374: rejects repetition of compatible typedefs



>Number:         4374
>Category:       c
>Synopsis:       rejects repetition of compatible typedefs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 21 12:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     pekof@playgate.rasip.fer.hr
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
rejects repetition of compatible typedefs
which by standard should not do 
this is legal acording to my references
typedef int I;
typedef int I;
typedef I I; /*even this but I could live with out it*/
>How-To-Repeat:
typedef unsigned char BYTE;
typedef unsigned char BYTE;
>Fix:
something within cp/semantics.c
more verificaation or so
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]