00db10
commit e6fb95871cd3557e5882a6f969c11bc6a3cbe781
00db10
Author: Florian Weimer <fweimer@redhat.com>
00db10
Date:   Mon Sep 8 13:49:36 2014 +0200
00db10
00db10
    Turn on -Werror=implicit-function-declaration
00db10
    
00db10
    GCC 4.4, the minimum compiler version, supports this option.  Unlike
00db10
    other warnings, -Wimplicit-function-declaration warnings should be
00db10
    independent of compiler versions, so this change should not cause
00db10
    compiler-specific build failures.
00db10
00db10
Index: b/Makeconfig
00db10
===================================================================
00db10
--- a/Makeconfig
00db10
+++ b/Makeconfig
00db10
@@ -643,7 +643,7 @@ ifeq ($(all-warnings),yes)
00db10
 else
00db10
 +gccwarn := -Wall -Wwrite-strings -Winline
00db10
 endif
00db10
-+gccwarn-c = -Wstrict-prototypes
00db10
++gccwarn-c = -Wstrict-prototypes -Werror=implicit-function-declaration
00db10
 
00db10
 # We do not depend on the address of constants in different files to be
00db10
 # actually different, so allow the compiler to merge them all.