Fix configure error with gcc-7
authorKlaus Ethgen <Klaus@Ethgen.de>
Sun, 17 Sep 2017 12:37:10 +0000 (13:37 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Sun, 17 Sep 2017 14:15:58 +0000 (15:15 +0100)
configure.in

index 2b9aecb..506debb 100644 (file)
@@ -18,7 +18,7 @@ AC_PREREQ(2.57)
 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])