From: Michael R Sweet Date: Thu, 6 Dec 2018 14:21:58 +0000 (-0500) Subject: Don't error out on deprecations. X-Git-Tag: v2.3b6~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d730d0ce72263e1b53e97bce4e45d08be21e564;p=thirdparty%2Fcups.git Don't error out on deprecations. --- diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 89176fd3bd..86e8bc4887 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -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... diff --git a/configure b/configure index 5ab7db685e..6c5fc45973 100755 --- 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...