On Tue, Dec 17, 2002 at 10:58:18PM +0000, Stephen Gilfillan wrote:
> I am using GCC and not CW. I would also like to be able to get new to
> return NULL instead of throwing an exception (for subsequent checking).

See http://prc-tools.sourceforge.net/faq/

> I'm not able to include <new> as this file doesn't seem to exist
> in the GCC world.

I suspect what you mean is "<new> is not provided by the amazingly out
of date version of prc-tools that I am using".  It certainly exists in
the (majority) part of the GCC world that strives to provide a full
ISO C++ compiler.  GCC on Palm OS is not part of that world [1], but
nonetheless prc-tools has provided <new> for m68k since at least
version 2.0.92.

    John

[1] If you would like it to be, you know the mantra: "patches are
    welcome" :-).

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to