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

Olaf Hering
2005-08-30T16:18:17Z

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.