]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't error out on deprecations.
authorMichael R Sweet <michaelrsweet@gmail.com>
Thu, 6 Dec 2018 14:21:58 +0000 (09:21 -0500)
committerMichael R Sweet <michaelrsweet@gmail.com>
Thu, 6 Dec 2018 14:21:58 +0000 (09:21 -0500)
config-scripts/cups-compiler.m4
configure

index 89176fd3bdaae44d9bdd91d2b4049daaa99a1be7..86e8bc488781735e751e7858999645ef14ebca38 100644 (file)
@@ -182,7 +182,7 @@ if test -n "$GCC"; then
 
        # Additional warning options for development testing...
        if test -d .git; then
-               WARNING_OPTIONS="-Werror $WARNING_OPTIONS"
+               WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS"
        fi
 else
        # Add vendor-specific compiler options...
index 5ab7db685ef41c578e2655f15b302cf76fe12e27..6c5fc4597396775b44aea7462f85c9deecb98687 100755 (executable)
--- a/configure
+++ b/configure
@@ -7063,7 +7063,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
        # Additional warning options for development testing...
        if test -d .git; then
-               WARNING_OPTIONS="-Werror $WARNING_OPTIONS"
+               WARNING_OPTIONS="-Werror -Wno-error=deprecated-declarations $WARNING_OPTIONS"
        fi
 else
        # Add vendor-specific compiler options...