Re: pre-2.1.89-3 warnings in string.h

Kurt Garloff (garloff@kg1.ping.de)
Sat, 28 Feb 1998 10:23:15 +0100


On Fri, Feb 27, 1998 at 11:19:48PM +0000, David Woodhouse wrote:
> Most files in the kernel I just compiled complained along these lines:
>
> /usr/src/linux/include/asm/string.h: In function `__constant_memcpy':
> In file included from /usr/src/linux/include/linux/string.h:39,
> from awe_wave.c:29:
> /usr/src/linux/include/asm/string.h:448: warning: control reaches end of non-void function
> /usr/src/linux/include/asm/string.h: In function `__constant_c_and_count_memset':
> /usr/src/linux/include/asm/string.h:599: warning: control reaches end of non-void function

This is a known gcc-2.80/egcs-2.91.xx problem. The fix is fine, though.

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu