[cpp-sp] 01/02: Remove strict overflow warning for older compilers.

Scott Cantor cantor.2 at osu.edu
Mon Nov 27 16:47:15 EST 2017


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=94efcbc3c8778b9dd29e9fa32fcb4f014e1b5153

commit 94efcbc3c8778b9dd29e9fa32fcb4f014e1b5153
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 27 16:31:10 2017 -0500

    Remove strict overflow warning for older compilers.
---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index f276e7b..9ea8ee0 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 -g -D_DEBUG -Wstrict-overflow=5"
-    GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG -Wstrict-overflow=5"
+    GCC_CFLAGS="$CFLAGS -g -D_DEBUG"
+    GCC_CXXFLAGS="$CXXFLAGS -g -D_DEBUG"
 else
-    GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG -Wstrict-overflow=5"
-    GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG -Wstrict-overflow=5"
+    GCC_CFLAGS="$CFLAGS -O2 -DNDEBUG"
+    GCC_CXXFLAGS="$CXXFLAGS -O2 -DNDEBUG"
 fi
 
 AC_CONFIG_HEADERS([config.h shibsp/config_pub.h])

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list