Internal compiler error 97 - continued

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Apr 26 13:32:00 GMT 2000


> The error disappears when I correctly use typenames in the
> pointer-to-function typedef. The previous example should generate compile
> errors but not internal error!

Thanks for your bug report. gcc-2.95.2 says

fun.cpp:76: ANSI C++ forbids declaration `Function' with no type
fun.cpp:76: parse error before `::'
fun.cpp:77: `int' is not an aggregate type
fun.cpp:77: ANSI C++ forbids declaration `yspace' with no type

so the bug has been fixed.

Regards,
Martin


More information about the Gcc-bugs mailing list