This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]