Solaris: bad alloc exceptions turned on by default?

Hey everyone,

I'm trying to find out if, by default, Solaris systems throw a bad allocation exception when 'new' is called, but the system doesn't have available memory. I know that AIX has it turned off by default, and Windows has it turned on.

The parameter I found for AIX systems is -qlanglvl=newexcp, but I can't seem to find similar compiler parameters for Solaris. Anyone know?
Last edited on
Thank you!
Topic archived. No new replies allowed.