From 213b6c7c63a2fca5450d3dd7672a9472e8235ed1 Mon Sep 17 00:00:00 2001 From: Alessandro Toppi Date: Fri, 29 Jan 2021 12:13:44 +0100 Subject: [PATCH] Make compiler fail if implicit-function-declaration is encountered. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c3160f9ec7..c75c6b98de 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,8 @@ CFLAGS="$CFLAGS \ -Wstrict-prototypes \ -Wswitch-default \ -Wunused \ - -Wwrite-strings" + -Wwrite-strings \ + -Werror=implicit-function-declaration" case "$CC" in clang*)