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