From: Omari Stephens Date: Sun, 25 Dec 2016 01:47:15 +0000 (+0000) Subject: Add "-Werror -Wno-error=" to the default CFLAGS. X-Git-Tag: v1.4~137^2~1^2 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=5b98d3244780f0652324559f778e19c05d39749d Add "-Werror -Wno-error=" to the default CFLAGS. --- diff --git a/configure.in b/configure.in index 806817c7..f9d0e79d 100644 --- a/configure.in +++ b/configure.in @@ -17,6 +17,9 @@ dnl GNU General Public License for more details. AC_PREREQ(2.57) AC_INIT([geeqie], m4_esyscmd_s(git rev-parse --quiet --verify --short master), [geeqie-devel@lists.sourceforge.net], [], [http://www.geeqie.org/]) +# Add -Werror to the default CFLAGS +CFLAGS+=" -Werror -Wno-error=deprecated-declarations" + # Check for rightly dirs AC_CONFIG_SRCDIR([src/main.c])