laforge has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-netif/+/29985 )
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: Icee84b6727f0242e7b2004214183c2389a0bb604
---
M configure.ac
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/85/29985/1
diff --git a/configure.ac b/configure.ac
index 5bb0b5c..73d5d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,6 +63,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
https://gerrit.osmocom.org/c/libosmo-netif/+/29985
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Change-Id: Icee84b6727f0242e7b2004214183c2389a0bb604
Gerrit-Change-Number: 29985
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange