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"