laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-abis/+/29984 )
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: I707317f238faf598f32fffb629384dbd11e5fb45 --- M configure.ac 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/84/29984/1
diff --git a/configure.ac b/configure.ac index 1c2988d..b69bf06 100644 --- a/configure.ac +++ b/configure.ac @@ -129,6 +129,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"