This is the mail archive of the
mailing list for the Cygwin project.
Re: [Problem] mempcpy is missing? (FAQ alert)
On Sat, Feb 15, 2003 at 06:25:06PM -0500, Charles Wilson wrote:
>For other newlib platforms (e.g. embedded systems?) if the header
>declares the function, then the function is there. 'Nuff said.
I don't think that can be true with newlib. I'm sure that there are
some embedded systems which don't define every function that is declared
in the header. For example, a real quick check seems to indicate that
the clock() function isn't provided everywhere.
Peppering the headers with a plethora of system ifdefs to deal with this
issue seems like a really bad idea to me. Breaking up the headers or
adding a OS-specific "capability.h", or something similar, which defines
__HAVE_CLOCK would probably be the best way to deal with this. Assuming
that this was a major issue -- which I don't think it is.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html