From: Klaus Ethgen Date: Sun, 17 Sep 2017 12:37:10 +0000 (+0100) Subject: Fix configure error with gcc-7 X-Git-Tag: v1.4~85 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=286b68b24417f9290353189c4795dc381318f1c3 Fix configure error with gcc-7 --- diff --git a/configure.in b/configure.in index 2b9aecb5..506debbb 100644 --- a/configure.in +++ b/configure.in @@ -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])