]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't use -Werror by default (at some point I'll add a maintainer mode)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Sat, 17 Oct 2020 21:04:08 +0000 (17:04 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Sat, 17 Oct 2020 21:04:08 +0000 (17:04 -0400)
config-scripts/cups-compiler.m4
configure

index 86e8bc488781735e751e7858999645ef14ebca38..9e5f34660da007c12c563cdad534ca187ac3a719 100644 (file)
@@ -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
index 7a7a12f8904a3b935f92717f36804b20847996b8..07bbb4be7429a67aed084dd8a6d7cdb85a71b3b5 100755 (executable)
--- 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