LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File qpid-cpp-werror.patch of Package qpid-cpp (Project home:jblunck:md)

Index: qpid-cpp-0.34/CMakeLists.txt
===================================================================
--- qpid-cpp-0.34.orig/CMakeLists.txt
+++ qpid-cpp-0.34/CMakeLists.txt
@@ -144,7 +144,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")
+        "-pedantic -Wall -Wextra -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wvolatile-register-var -Winvalid-pch -Wno-system-headers -Woverloaded-virtual")
 
    set (CATCH_UNDEFINED "-Wl,--no-undefined")
    # gcc on SunOS uses native linker whose "-z defs" is too fussy