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: explicit call of destructor of pointer objects in template functions


> 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


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