"new" statement and -fno-exceptions
Paul Koning
pkoning@equallogic.com
Tue Oct 5 02:09:00 GMT 2004
>>>>> "Steven" == Steven L Zook <SLZook@Qualstar.com> writes:
Steven> If you compile with -fno-exceptions, and you do not compile
Steven> with -fcheck-new, don't constructors on new class objects
Steven> blow up with NULL pointers when the new for that class (or a
Steven> more global new) fails?
No, that's what surprised me too. And, from the sound of it, Paolo
reacted the same way.
I suppose one could argue that the design is ok as it stands -- if so,
then the documentation clearly needs help.
paul
More information about the Gcc
mailing list