[opensaml2] 04/10: CPPXT-121 Add strict overflow checking
Ferenc Wágner
wferi at moszumanska.debian.org
Wed Nov 15 22:59:20 UTC 2017
This is an automated email from the git hooks/post-receive script.
wferi pushed a commit to branch maint-2
in repository opensaml2.
commit 96c00b0c09d706e8a26d30e5676e90788be4322a
Author: Rod Widdowson <rdw at steadingsoftware.com>
Date: Wed Aug 2 17:27:53 2017 +0100
CPPXT-121 Add strict overflow checking
https://issues.shibboleth.net/jira/browse/CPPXT-121
---
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index f9ea7da..1ee0a90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,11 +24,11 @@ AC_ARG_ENABLE(debug,
enable_debug=$enableval, enable_debug=no)
if test "$enable_debug" = "yes" ; then
- GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG"
- GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG"
+ GCC_CFLAGS="$CFLAGS -Wall -g -D_DEBUG -Wstrict-overflow=5"
+ GCC_CXXFLAGS="$CXXFLAGS -Wall -g -D_DEBUG -Wstrict-overflow=5"
else
- GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG"
- GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG"
+ GCC_CFLAGS="$CFLAGS -Wall -O2 -DNDEBUG -Wstrict-overflow=5"
+ GCC_CXXFLAGS="$CXXFLAGS -Wall -O2 -DNDEBUG -Wstrict-overflow=5"
fi
AC_CONFIG_HEADERS([config.h])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/opensaml2.git
More information about the Pkg-shibboleth-devel
mailing list