Messages in this thread | | | From | "Matthias Urlichs" <> | Date | Sun, 25 Jan 1998 23:24:15 +0100 | Subject | Re: kernel and egcs |
| |
Hi,
Regis Duchesne: > > The patch to skip all these stupid warnings in string.h is equally simple: > > + return to; > > + return s; > Please include a comment before these returns, something like > > /* Shut up a stupid gcc warning */ > That's not a stupid warning. memcpy is _defined_ to return its destination address.
The alternate solution would be to declare memcpy to return void. But then we really shouldn't call it memcpy() any more.
-- Matthias Urlichs noris network GmbH
| |