That means that use of ANSI lib calls is not encouraged on Palm OS as they
increase the code size.
Secondly we can use some header files as they only provide some macros and
type definitions.
I ve one more doubt in that case whether we can use set_new_handler to set
the memory handler.
I tried this in a test app by including <new> but it gives me compile time
error.So should i draw the onclusion that use of set_new_handler is not
encouraged for Palm OS
----- Original Message -----
From: "Ben Combee" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, September 17, 2001 8:47 PM
Subject: Re: ANSI Lib support for Palm
> "Gaurav Palvia" <[EMAIL PROTECTED]> wrote in message
> news:62585@palm-dev-forum...
> >
> > Hi folks,
> > I read the Code Worrior documentation and in the file
> > Targeting_Palm_OS.pdf in the section named MSL for Palm OS
> > there is an statement which says:
> > "Metrowerks Standard Libraries (MSL), which provide ANSI-standard
> library
> > routines for C and C++ programming, is not yet available for use with
> Palm
> > OS."
> >
> > But in the code worrior IDE there is this folder called MSL.which
> contains
> > various include and header files for ANSI C/C++
> > support.
> > My doubt/question is that while developing an application for Palm OS
> are
> > we supposed to use those include files.As the doc says for Palm there
> is
> > still no ANSI standard library routines.
> > If that is the case i am little confused as why the MSL folder is
> provided
> > with the CodeWorrior IDE for Palm.
>
> On CodeWarrior for Palm OS release 7, MSL is provided for two reasons:
>
> 1) On Mac OS, if you build a program with the Palm OS Simulator, some of
> the Palm OS headers include ANSI C header files.
>
> 2) It is possible to use the freestanding subset of the ANSI C headers
> on Palm OS. These are the headers which are only macros and type
> definitions and provide information about the compiler. These include
> stdarg.h, stddef.h, and limits.h.
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/