internal compiler error using -Wall

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu Apr 27 13:54:00 GMT 2000


> This is a little program that makes g++ crash when option "-Wall"· is
> used. Without "-Wall" everything goes all right  :(

Thanks for your bug report. Unfortunately, you did not report what
compiler version you've used. gcc-2.95.2 compiles this without
problems, it only says

bug2.cc:77: warning: ANSI C++ forbids declaration `main' with no type

Regards,
Martin


More information about the Gcc-bugs mailing list