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]
Other format: [Raw text]

Re: c/6861: Conflicting type name allowed


The following reply was made to PR c/6861; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: stevec@bullseye.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/6861: Conflicting type name allowed
Date: Wed, 29 May 2002 17:59:36 -0400

 you can use `gcc -Wall -pedantic -c testil.c', which warns about it.
 testil.c:2: warning: long, short, signed or unsigned used invalidly for 
 `a'
 collect2: ld returned 1 exit status
 
 On Wednesday, May 29, 2002, at 05:54 , stevec@bullseye.com wrote:
 
 > typedef unsigned char T;
 > T short a;
 >> How-To-Repeat:
 > gcc -c bug.c
 


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