Re: [2.6 patch] add -Werror-implicit-function-declaration to CFLAGS

From: Olaf Hering
Date: Tue Aug 30 2005 - 11:18:34 EST


On Tue, Aug 30, Adrian Bunk wrote:

> Currently, using an undeclared function gives a compile warning, but it
> can lead to a link or even a runtime error.
>
> With -Werror-implicit-function-declaration, we are getting an immediate
> compile error instead.

You have to fix CONFIG_SWAP=n as well.

http://lkml.org/lkml/2005/8/6/72

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/