[cpp-opensaml] branch master updated: Remove strict overflow warning for older compilers.

Scott Cantor cantor.2 at osu.edu
Mon Nov 27 16:22:07 EST 2017


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

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  15fcca0   Remove strict overflow warning for older compilers.
15fcca0 is described below

commit 15fcca0b1254ce4e23915562135c02db7b4684f1
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 27 16:22:03 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 a33c7a5..1d5d26d 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