c/6861: Conflicting type name allowed
stevec@bullseye.com
stevec@bullseye.com
Wed May 29 14:56:00 GMT 2002
>Number: 6861
>Category: c
>Synopsis: Conflicting type name allowed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed May 29 14:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Steve Cornett
>Release: 3.1
>Organization:
>Environment:
all
>Description:
Two conflicting types are incorrectly allowed in the same declaration. The sample code below ought to trigger an error, but is incorrectly accepted.
typedef unsigned char T;
T short a;
>How-To-Repeat:
gcc -c bug.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list