laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30016 )
Change subject: layer23: add -Werror={implicit-int,int-conversion,old-style-definition} ......................................................................
layer23: add -Werror={implicit-int,int-conversion,old-style-definition}
Change-Id: Ia6e0c717c782ea000f1d40ad11af2ee725f9c309 --- M src/host/layer23/configure.ac 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified msuraev: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/src/host/layer23/configure.ac b/src/host/layer23/configure.ac index 3ce9ead..2817ed1 100644 --- a/src/host/layer23/configure.ac +++ b/src/host/layer23/configure.ac @@ -32,6 +32,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"