laforge has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-sccp/+/29989 )
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: If344ef88121111db5365b8cee3cf3cd1283303c1
---
M configure.ac
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, approved
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
https://gerrit.osmocom.org/c/libosmo-sccp/+/29989
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: If344ef88121111db5365b8cee3cf3cd1283303c1
Gerrit-Change-Number: 29989
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged