2.1.pre-92-1: string.h and EGCS

Russell Coker - mailing lists account (bofh@coker.com.au)
Sun, 29 Mar 98 19:34:54 +1000


I repeatedly get the following warnings when compiling 2.1.pre92-1 under
EGCS:

/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

Here's the EGCS version:
rjc@ivanova:/usr/src/linux$egcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.90.26/specs gcc version
egcs-2.90.26 980308 (egcs-1.0.2 prerelease)

It looks like a trivial thing, but I'm not sure how to start work on an
ASM-only function (my knowledge of assembly is limited to reading it in a
debugger).

<EMBED
SRC=file://C|/A.0123456789012345678901234567890123456789012345678901234567890123
45678901234567890123456789012345678901234567890123456789012345678901234567890123
45678901234567890123456789012345678901234567890123456789012345678901234567890123
4567890123456789>

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