public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/4374: rejects repetition of compatible typedefs
@ 2001-09-21 12:06 pekof
  0 siblings, 0 replies; 2+ messages in thread
From: pekof @ 2001-09-21 12:06 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c/4374: rejects repetition of compatible typedefs
@ 2001-10-05 11:26 jsm28
  0 siblings, 0 replies; 2+ messages in thread
From: jsm28 @ 2001-10-05 11:26 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jsm28, nobody, pekof

Synopsis: rejects repetition of compatible typedefs

State-Changed-From-To: open->closed
State-Changed-By: jsm28
State-Changed-When: Fri Oct  5 11:26:15 2001
State-Changed-Why:
    GCC correctly rejects this for C and accepts this for C++.
    This is in accordance with the respective language
    standards; please re-read them.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4374&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-05 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-21 12:06 c/4374: rejects repetition of compatible typedefs pekof
2001-10-05 11:26 jsm28

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).