Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 15 Feb 2003 18:49:09 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [Problem] mempcpy is missing? (FAQ alert) Message-ID: <20030215234909.GB12171@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20030215210505 DOT GA29578 AT redhat DOT com> <010601c2d537$decb05c0$78d96f83 AT pomello> <20030215215840 DOT GA3446 AT redhat DOT com> <3E4EC408 DOT 8070500 AT ece DOT gatech DOT edu> <004201c2d546$ba7482a0$78d96f83 AT pomello> <3E4ECC52 DOT 50609 AT ece DOT gatech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E4ECC52.50609@ece.gatech.edu> User-Agent: Mutt/1.5.1i 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/