From: Sebastian Harl Date: Mon, 24 Feb 2014 01:21:51 +0000 (-0800) Subject: configure: Disable -Wsign-conversion. X-Git-Tag: sysdb-0.1.0~177 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=919214f215964cb9087ce293171ab88c4715f634 configure: Disable -Wsign-conversion. It may cause problems in expanded macros from libc. --- diff --git a/configure.ac b/configure.ac index ede963b..de18e15 100644 --- a/configure.ac +++ b/configure.ac @@ -168,11 +168,13 @@ for flag in -Wall -Werror; do done if test "x$enable_strict_checks" = "xyes"; then + dnl -Wsign-conversion may cause problems in expanded macros from libc for flag in -Wextra \ -Wbad-function-cast \ -Wcast-align \ -Wcast-qual \ -Wconversion \ + -Wno-sign-conversion \ -Wdeclaration-after-statement \ -Wmissing-prototypes \ -Wpointer-arith \ diff --git a/t/cibuild.sh b/t/cibuild.sh index 120d427..8b872af 100755 --- a/t/cibuild.sh +++ b/t/cibuild.sh @@ -8,7 +8,7 @@ set -ex ./autogen.sh ./configure --enable-gcov $CIOPTIONS \ - CFLAGS="-O0 -Wno-sign-conversion $CICFLAGS" \ + CFLAGS="-O0 $CICFLAGS" \ LDFLAGS="$CILDFLAGS" make clean all make test