From 7d730d0ce72263e1b53e97bce4e45d08be21e564 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 6 Dec 2018 09:21:58 -0500 Subject: [PATCH] Don't error out on deprecations. --- config-scripts/cups-compiler.m4 | 2 +- configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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... -- 2.47.2