laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-pfcp/+/29986 )
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: I8e6cdc40cb77777677e5ffbbf3bf9e5c32555b2c --- M configure.ac 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-pfcp refs/changes/86/29986/1
diff --git a/configure.ac b/configure.ac index 1b8436e..e5ad701 100644 --- a/configure.ac +++ b/configure.ac @@ -69,6 +69,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"