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"!).
This commit is contained in:
Tim Edwards
2022-10-29 10:04:18 -04:00
parent d229aefb15
commit 5aee1dcb5a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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