laforge has submitted this change. ( https://gerrit.osmocom.org/c/libsmpp34/+/29988 )
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: I42f0ef1c9eea62a2512a15543ff45d776155fdc5 --- M configure.ac 1 file changed, 1 insertion(+), 0 deletions(-)
Approvals: pespin: Looks good to me, but someone else must approve osmith: Looks good to me, approved Jenkins Builder: Verified
diff --git a/configure.ac b/configure.ac index fce48b4..9454953 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,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"