laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/29983 )
Change subject: Add -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition ......................................................................
Add -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition
... if --enable-werror is used
Change-Id: I8acd1b276f1ff8f015856d70fd582e457915ea11 --- M configure.ac 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/83/29983/1
diff --git a/configure.ac b/configure.ac index 26a657e..f0defdb 100644 --- a/configure.ac +++ b/configure.ac @@ -427,6 +427,7 @@ then WERROR_FLAGS="-Werror" WERROR_FLAGS+=" -Wno-error=deprecated -Wno-error=deprecated-declarations" + WERROR_FLAGS+=" -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition" WERROR_FLAGS+=" -Wno-error=cpp" # "#warning" CFLAGS="$CFLAGS $WERROR_FLAGS" CPPFLAGS="$CPPFLAGS $WERROR_FLAGS"