From 5aee1dcb5ad1571a91ef1dd4bc924e4804d93aea Mon Sep 17 00:00:00 2001 From: Tim Edwards Date: Sat, 29 Oct 2022 10:04:18 -0400 Subject: [PATCH] Added "-Werror=implicit-function-declaration" to CFLAGS in the configure script, now that Alessandro De Laurenzis has cleaned up the code so that it will compile with the setting (now, just need to do the same thing for "implicit-int"!). --- scripts/configure | 2 +- scripts/configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/configure b/scripts/configure index 0441cac8..46b15491 100755 --- a/scripts/configure +++ b/scripts/configure @@ -7780,7 +7780,7 @@ case $target in case $target in *x86_64*) - CFLAGS="${CFLAGS} -m64 -fPIC" + CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration" ;; esac if test $usingOGL ; then diff --git a/scripts/configure.in b/scripts/configure.in index 6518f98f..83fd1c33 100644 --- a/scripts/configure.in +++ b/scripts/configure.in @@ -1359,7 +1359,7 @@ case $target in dnl 64-bit support for AMD Opteron case $target in *x86_64*) - CFLAGS="${CFLAGS} -m64 -fPIC" + CFLAGS="${CFLAGS} -m64 -fPIC -Werror=implicit-function-declaration" ;; esac if test $usingOGL ; then