This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: C++ gnu compiler bug report
- To: rseletsky at KELLY dot AF dot MIL
- Subject: Re: C++ gnu compiler bug report
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 22 Feb 2000 16:27:44 +0100
- CC: egcs-bugs at egcs dot cygnus dot com
- References: <83C41D1C3A20D311B9D700C00D00EF0485AA0F@fsmbpb20.kelly.af.mil>
> 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