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

Jesper Juhl
2006-07-06T18:05:15Z

On 06/07/06, Adrian Bunk <bunk@stusta.de> wrote:
> Currently, using an undeclared function gives a compile warning, but it
> can lead to a nasty to debug runtime stack corruptions if the prototype
> of the function is different from what gcc guessed.
>
> With -Werror-implicit-function-declaration we are getting an immediate
> compile error instead.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
Makes good sense. It gets my vote.
Thanks Adrian.

--
Jesper Juhl <jesper.juhl@gmail.com>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html