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 <[email protected]>
Authored: Tue Feb 14 13:51:33 2017 -0500
Committer: Alan Conway <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to