This is the mail archive of the gcc-bugs@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]

Re: GCC Bug Report



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
> 


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