Internal compiler error with improperly specified member pointer

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon May 1 02:48:00 GMT 2000


> 	I've attached the relevant stuff. Hope this helps!

Thanks for your bug report. The mainline compiler (2.96 20000427
(experimental)) says

test.cpp: In function `int main ()':
test.cpp:33: cannot convert `int (Fooble::*) ()' to `int (*) ()' in
test.cpp:33: initialization
test.cpp:36: confused by earlier errors, bailing out

which is slightly better. Since it is not possible to recover from all
errors, I've put this as a low-priority PR only into GNATS.

Regards,
Martin


More information about the Gcc-bugs mailing list