changeset 2442:c249abb0c0e2

Add "-Werror -Wno-error=" to the default CFLAGS.
author Omari Stephens <xsdg@google.com>
date Sun, 25 Dec 2016 01:47:15 +0000
parents a2d4729a3b2d
children e8f835110f9c
files configure.in
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun Dec 25 01:47:15 2016 +0000
+++ b/configure.in	Sun Dec 25 01:47:15 2016 +0000
@@ -17,6 +17,9 @@
 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])