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: I42f0ef1c9eea62a2512a15543ff45d776155fdc5
---
M configure.ac
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libsmpp34 refs/changes/88/29988/1
diff --git a/configure.ac b/configure.ac
index fce48b4..0695ef6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,6 +75,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 29988. To unsubscribe, or for help writing mail filters, visit settings.