This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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