[cpp-opensaml] branch maint-2 updated: Undo strict-overflow warning, fails on older gcc

Scott Cantor cantor.2 at osu.edu
Mon Nov 13 22:38:44 EST 2017


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

scantor pushed a commit to branch maint-2
in repository cpp-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-opensaml.git;a=commit;h=8dc6e95c98aadb21b217b31b3d2a1ee883fef3a3

The following commit(s) were added to refs/heads/maint-2 by this push:
       new  8dc6e95   Undo strict-overflow warning, fails on older gcc
8dc6e95 is described below

commit 8dc6e95c98aadb21b217b31b3d2a1ee883fef3a3
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 13 22:38:33 2017 -0500

    Undo strict-overflow warning, fails on older gcc
---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

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


More information about the commits mailing list