aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2014-09-08 13:49:36 +0200
committerFlorian Weimer <fweimer@redhat.com>2014-09-10 08:13:06 +0200
commite6fb95871cd3557e5882a6f969c11bc6a3cbe781 (patch)
treee5aed138cf0ff10eeea2feb824f9fc3af7e2d5b2 /Makeconfig
parent9d3a350b4951351b3d821e8138293470de12abb2 (diff)
downloadglibc-e6fb95871cd3557e5882a6f969c11bc6a3cbe781.tar
glibc-e6fb95871cd3557e5882a6f969c11bc6a3cbe781.tar.gz
glibc-e6fb95871cd3557e5882a6f969c11bc6a3cbe781.tar.bz2
glibc-e6fb95871cd3557e5882a6f969c11bc6a3cbe781.zip
Turn on -Werror=implicit-function-declaration
GCC 4.4, the minimum compiler version, supports this option. Unlike other warnings, -Wimplicit-function-declaration warnings should be independent of compiler versions, so this change should not cause compiler-specific build failures.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index cef0f06b64..0f8069b82a 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -717,7 +717,7 @@ else
+gccwarn := -Wall -Wwrite-strings -Winline
endif
+gccwarn += -Wundef
-+gccwarn-c = -Wstrict-prototypes
++gccwarn-c = -Wstrict-prototypes -Werror=implicit-function-declaration
# We do not depend on the address of constants in different files to be
# actually different, so allow the compiler to merge them all.