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: C++ gnu compiler bug report


> 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


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