aboutsummaryrefslogblamecommitdiffstats
path: root/testing/pulsar-client-cpp/no-werror.patch
blob: daa128d5e2c50f8c3d00d0f694fcbf9f5a8e97d6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                       
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4fd1808..9fc8e75 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -94,7 +94,7 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
     # ?? Don't have this to test with
 else() # GCC or Clang are mostly compatible:
     # Turn on warnings and enable warnings-as-errors:
-    add_compile_options(-Wall -Wformat-security -Wvla -Werror) 
+    add_compile_options(-Wall -Wformat-security -Wvla) 
     # Turn off certain warnings that are too much pain for too little gain:
     add_compile_options(-Wno-sign-compare -Wno-deprecated-declarations -Wno-error=cpp)
     if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" OR APPLE)