laforge has uploaded this change for review.
Add -Werror=implicit-int -Werror=int-conversion -Werror=old-style-definition
... if --enable-werror is used
Change-Id: If344ef88121111db5365b8cee3cf3cd1283303c1
---
M configure.ac
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/89/29989/1
diff --git a/configure.ac b/configure.ac
index fe9f614..98f1799 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,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"
To view, visit change 29989. To unsubscribe, or for help writing mail filters, visit settings.