changeset 2605:71e7f2a9b52c

Fix configure error with gcc-7
author Klaus Ethgen <Klaus@Ethgen.de>
date Sun, 17 Sep 2017 13:37:10 +0100
parents 425b69f7ff5f
children 1e344397544c
files configure.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun Sep 17 10:33:08 2017 +0100
+++ b/configure.in	Sun Sep 17 13:37:10 2017 +0100
@@ -18,7 +18,7 @@
 AC_INIT([geeqie], m4_esyscmd_s(git rev-parse --quiet --verify --short HEAD), [geeqie-devel@lists.sourceforge.net], [], [http://www.geeqie.org/])
 
 # Add -Werror to the default CFLAGS
-CFLAGS+=" -Werror -Wno-error=deprecated-declarations"
+CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=implicit-fallthrough -Wno-error=return-type"
 
 # Check for rightly dirs
 AC_CONFIG_SRCDIR([src/main.c])