This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC Bug Report
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: GCC Bug Report
- From: "GSI Computer Services (Matt Emmerton)" <gsi at skippyii dot compar dot com>
- Date: Sat, 11 Mar 2000 00:20:51 -0500 (EST)
- cc: matt at gsicomp dot on dot ca, bug-gcc at gnu dot org
Which I tried (since I found a copy of gcc-2.95.2 hanging around.)
However, according to the C++ text that I have (written by Stroustrup
-sp?) indicates that the code that I am attempting to write is indeed
valid.
gcc 2.7.2.3 compiles it correctly, without fault in execution.
Can someone verify whether this is indeed a nasty byproduct of the
gcc/egcs merger, or just something that slipped through the cracks?
Thanks.
On Sat, 11 Mar 2000, Martin v. Loewis wrote:
> > a3.c:48: warning: invalid use of type decl `enum eventType' as expression
> > a3.c:54: Internal compiler error 40.
>
> Thanks for your bug report. gcc-2.95.2 says
>
> a3.c: In function `int main()':
> a3.c:48: invalid use of type decl `enum eventType' as expression
> a3.c:58: parse error before `{'
>
> I suggest to upgrade.
>
> Regards,
> Martin
>