X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Date: Sun, 27 Jan 2002 10:56:04 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp-workers AT delorie DOT com Subject: GCC 3.x and bcopy Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Does the v2.03 refresh correct the problem with bcopy? Our prototype says it returns a `void *' (and bcopy's code indeed behaves like that), but GCC's built-in bcopy returns nothing. This causes warnings in any program that includes string.h and is compiled by GCC 3.x without -ansi. I'd like to avoid the flood of FAQs about this, if it's possible. The cure is simple: modify the prototype in string.h, and change bcopy.c to not return anything.