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


On Dec 9, 2005, at 10:37 AM, Richter, Jörg wrote:

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?

Nope.


-Howard


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