fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmocom-bb/+/30018 )
Change subject: osmocon: add -Werror={implicit-int,int-conversion,old-style-definition}
......................................................................
osmocon: add -Werror={implicit-int,int-conversion,old-style-definition}
Change-Id: I46bdc87ef07704369bdc3ccc03b384aac87fe2f7
---
M src/host/osmocon/configure.ac
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/18/30018/1
diff --git a/src/host/osmocon/configure.ac b/src/host/osmocon/configure.ac
index 7fa2692..556f60b 100644
--- a/src/host/osmocon/configure.ac
+++ b/src/host/osmocon/configure.ac
@@ -42,6 +42,7 @@
if test x"$werror" = x"yes"
then
WERROR_FLAGS="-Werror"
+ WERROR_FLAGS+=" -Werror=implicit-int -Werror=int-conversion
-Werror=old-style-definition"
WERROR_FLAGS+=" -Wno-error=deprecated -Wno-error=deprecated-declarations"
WERROR_FLAGS+=" -Wno-error=cpp" # "#warning"
CFLAGS="$CFLAGS $WERROR_FLAGS"
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/30018
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I46bdc87ef07704369bdc3ccc03b384aac87fe2f7
Gerrit-Change-Number: 30018
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange