explicit call of destructor of pointer objects in template functions

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Wed Jun 30 23:07:00 GMT 1999


> junk1.cpp:2: Internal compiler error.

Thanks for your bug report. gcc-2.95 19990529 says

junk.cc:1: ANSI C++ forbids declaration `f' with no type

Adding a return value (void) to f, it compiles fine, so it appears
that the bug has been fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list