lkml.org 
[lkml]   [1998]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.075 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site