diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-11-05 19:25:07 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-11-05 19:25:07 +0700 |
commit | 6df5177127cf9a6bf0d613d9cd288feeec1601ef (patch) | |
tree | a4efcee99ced3427ed0cd7abc863465188a3b75b | |
parent | 136cf481c715de6f1e302704bdebed0f25e90d4e (diff) |
osmocon: add -Werror={implicit-int,int-conversion,old-style-definition}
Change-Id: I46bdc87ef07704369bdc3ccc03b384aac87fe2f7
-rw-r--r-- | src/host/osmocon/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/osmocon/configure.ac b/src/host/osmocon/configure.ac index 7fa26925..556f60ba 100644 --- a/src/host/osmocon/configure.ac +++ b/src/host/osmocon/configure.ac @@ -42,6 +42,7 @@ AC_ARG_ENABLE(werror, 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" |