C++ gnu compiler bug report

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue Feb 22 07:34:00 GMT 2000


> Note that when I add the needed #include <new> to the code it compiles and
> links without error.

Thanks for your bug report. gcc-2.95.2 says

a.cc: In function `int main()':
a.cc:11: variable `class bad_alloc xa' has initializer but incomplete type

so it appears the bug has been fixed; I recommend to upgrade (or ask
WindRiver for an updated compiler).

Regards,
Martin



More information about the Gcc-bugs mailing list