This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: -fno-exceptions documentation
- From: Richter, Jörg <Joerg dot Richter at pdv-FS dot de>
- To: <pcarlini dot suse dot de at lysator dot liu dot se>
- Cc: <magfr at lysator dot liu dot se>, <pdimov dot mmltd dot net at lysator dot liu dot se>, <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 9 Dec 2005 16:37:55 +0100
- Subject: Re: -fno-exceptions documentation
>>One thing I am concerned about is this program which, as far as I understand
>>it, should be buildable.
>>Note that I don't include any headers so there is nothing that defines the
>>throw function.
>>
>>int main()
>>{
>> while(new char[1]);
>> return 0;
>>}
>>
>>
>humm, very good point....
>
>Paolo.
I really don't know it, but can it be that you need a '#include <new>' here?
Joerg