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