cswang <[EMAIL PROTECTED]> wrote:
> palmos/include/string.h:33: warning: conflicting types for built-in function
> `memset'
The basic problem here is that the standard C library and its headers
aren't really supported on Palm OS. For example, rather than memset()
from string.h you're encouraged to use the system function MemSet()
from MemoryMgr.h, thus saving a bit of memory and so on.
In spite of that, prc-tools has always supplied most of a C library so
that people can continue to use the functions they're used to. But as
you've found, it still has a few rough edges. :-(
The problem above is that the declaration for memset in string.h really
is wrong (the middle parameter should be int, not char). I suspect you
would have to fix this in the header *and* in the library source. Or
you could ignore it.
> 170: warning: redefinition of `size_t'
This warning is easily fixed; see
news://news.massena.com/a70zZNVd$[EMAIL PROTECTED]
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html