summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 27e62e0)
raw | patch | inline | side by side (parent: 27e62e0)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 24 Feb 2014 01:21:51 +0000 (17:21 -0800) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 24 Feb 2014 01:21:51 +0000 (17:21 -0800) |
It may cause problems in expanded macros from libc.
configure.ac | patch | blob | history | |
t/cibuild.sh | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index ede963bd7bb582553c0ae5f0a3ac1807e171279b..de18e156b7f891616c76d24661314cba8ac70e7f 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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 120d4278b9e7f404d1175cab90626a30d547650d..8b872af6edbc7fb39bdc4570a9fea25bc10f06ea 100755 (executable)
--- a/t/cibuild.sh
+++ b/t/cibuild.sh
./autogen.sh
./configure --enable-gcov $CIOPTIONS \
- CFLAGS="-O0 -Wno-sign-conversion $CICFLAGS" \
+ CFLAGS="-O0 $CICFLAGS" \
LDFLAGS="$CILDFLAGS"
make clean all
make test