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: Internal compiler error 97 - continued


> 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

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