From: Michael R Sweet Date: Sat, 17 Oct 2020 21:04:08 +0000 (-0400) Subject: Don't use -Werror by default (at some point I'll add a maintainer mode) X-Git-Tag: v2.3.3op1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=624ee69609252682b31dbe9bdbf8ade0687f88c8;p=thirdparty%2Fcups.git Don't use -Werror by default (at some point I'll add a maintainer mode) --- diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 86e8bc4887..9e5f34660d 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -181,9 +181,9 @@ if test -n "$GCC"; then esac # Additional warning options for development testing... - if test -d .git; then - WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS" - fi +# if test -d .git; then +# WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS" +# fi else # Add vendor-specific compiler options... case $host_os_name in diff --git a/configure b/configure index 7a7a12f890..07bbb4be74 100755 --- a/configure +++ b/configure @@ -6911,15 +6911,15 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # doesn't trigger... gccversion=`$CC --version | head -1 | awk '{print $NF}'` case "$gccversion" in - 7.* | 8.* | 9.*) - WARNING_OPTIONS="$WARNING_OPTIONS -Wno-format-truncation -Wno-format-overflow -Wno-tautological-compare" + 7.* | 8.*) + WARNING_OPTIONS="$WARNING_OPTIONS -Wno-format-truncation -Wno-tautological-compare" ;; esac # Additional warning options for development testing... - if test -d .git; then - WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS" - fi +# if test -d .git; then +# WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS" +# fi else # Add vendor-specific compiler options... case $host_os_name in