Re: kernel and egcs

Matthias Urlichs (smurf@noris.de)
Sun, 25 Jan 1998 23:24:15 +0100


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