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 with improperly specified member pointer


> 	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

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