Mmm, I didn't know that the standard operator new uses global variables. Is it
the exception handling in the standard new that uses global?
Yes, the exception handling code in the standard runtime library for CodeWarrior uses globals, which is the problem with new/delete. Even the std::nothrow_t version uses globals, as those just wrap the throwing versions. Using inline versions that don't throw is the best solution for avoiding global usage on new/delete.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
