Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Ports
perl-qpid
0001-QPID-7674-Broker-bulid-problem-with-GCC-7....
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-QPID-7674-Broker-bulid-problem-with-GCC-7.patch of Package perl-qpid
From 25e73e5a4c33783ff3e25f24c78a3608b7c32ea6 Mon Sep 17 00:00:00 2001 From: Alan Conway <aconway@redhat.com> Date: Wed, 15 Feb 2017 18:29:12 -0500 Subject: [PATCH] QPID-7674: Broker bulid problem with GCC 7, add version check Only add the -Wno-implicit-fallthrough flag for GCC >= 7.0.0 --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Index: qpid-cpp-1.36.0/CMakeLists.txt =================================================================== --- qpid-cpp-1.36.0.orig/CMakeLists.txt +++ qpid-cpp-1.36.0/CMakeLists.txt @@ -142,8 +142,12 @@ 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") + if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7) + message("FIXME FLAGGING") + set(WARNING_FLAGS "${WARNING_FLAGS} -Wno-implicit-fallthrough") + endif() set (CATCH_UNDEFINED "-Wl,--no-undefined") # gcc on SunOS uses native linker whose "-z defs" is too fussy if (CMAKE_SYSTEM_NAME STREQUAL SunOS)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor