This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error 97 - continued
- To: Jakub dot Moscicki at cern dot ch
- Subject: Re: Internal compiler error 97 - continued
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Wed, 26 Apr 2000 22:30:59 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- References: <Pine.LNX.3.95a.1000426165027.16719U-100000@lxplus002.cern.ch>
> 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