qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [1/2] qpid-cpp git commit: QPID-7674: Broker bulid problem with GCC 7
Date Tue, 14 Feb 2017 20:07:57 GMT
Repository: qpid-cpp
Updated Branches:
  refs/heads/master 13f0fe591 -> fa27fd689


QPID-7674: Broker bulid problem with GCC 7

GCC 7 introduces a new warning for switch statement fall-through. The Qpid code triggers
the warning, but the fall through is deliberate. Disabled the warning.


Project: http://git-wip-us.apache.org/repos/asf/qpid-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-cpp/commit/2e08b7ca
Tree: http://git-wip-us.apache.org/repos/asf/qpid-cpp/tree/2e08b7ca
Diff: http://git-wip-us.apache.org/repos/asf/qpid-cpp/diff/2e08b7ca

Branch: refs/heads/master
Commit: 2e08b7cae09e7326240e75829da4676746905eee
Parents: 13f0fe5
Author: Alan Conway <aconway@redhat.com>
Authored: Tue Feb 14 13:51:33 2017 -0500
Committer: Alan Conway <aconway@redhat.com>
Committed: Tue Feb 14 13:51:33 2017 -0500

----------------------------------------------------------------------
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-cpp/blob/2e08b7ca/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 80c633b..0270350 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -147,7 +147,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL GNU)
    # -Wunreachable-code -Wpadded -Winline
    # -Wshadow - warns about boost headers.
    set (WARNING_FLAGS
-        "-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual
-Wno-error=deprecated-declarations")
+        "-Werror -pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual
-Wno-error=deprecated-declarations -Wno-implicit-fallthrough")
 
    set (CATCH_UNDEFINED "-Wl,--no-undefined")
    # gcc on SunOS uses native linker whose "-z defs" is too fussy


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message