This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/6861: Conflicting type name allowed
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 29 May 2002 22:06:02 -0000
- Subject: Re: c/6861: Conflicting type name allowed
- Reply-to: Andrew Pinski <pinskia at physics dot uc dot edu>
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