Steve Sabram <[EMAIL PROTECTED]> wrote:
> To let you know where this is coming from, I have found this to be
> very useful when working with quasi-compliant C compilers; mostly from
> the 8-bit microcontroller world.  That typecasting I have done has
> avoided many a compiler bug since to due a lot of non-standard
> implementations.  Many compilers that don't have the ANSI seal of
> approval uses explicit typecasting for just the problems that have
> been mentioned.

That's very true.  But Palm OS headers assume ISO C and contain prototypes
without any macro goop to hide them from pre-ANSI compilers.  Hence any
compiler which accepts a program which includes Palm OS headers without
complaint can be assumed to grok prototypes and thus not to need casts
in these situations.

Fortunately programs that don't need to be portable to worlds like the
one you describe don't have to be written as if it is still 1985!

Hopefully by now Nathan has read my first answer to his posting, which
*did* contain the solution to his problem...

Roll on Friday...  :-)

    John

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

Reply via email to