From e6a127eeaf061611e3b8a381dc51406ee6049dfc Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Wed, 4 Oct 2023 22:59:04 +0200 Subject: [PATCH] remove werror hunk from snappy patch --- cpp/cmake_modules/snappy.diff | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/cpp/cmake_modules/snappy.diff b/cpp/cmake_modules/snappy.diff index 4b9254a387170..f86e2bb19780c 100644 --- a/cpp/cmake_modules/snappy.diff +++ b/cpp/cmake_modules/snappy.diff @@ -1,21 +1,3 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c3062e2..d946037 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -66,13 +66,6 @@ else(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra") - endif(NOT CMAKE_CXX_FLAGS MATCHES "-Wextra") - -- # Use -Werror for clang only. -- if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- if(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") -- endif(NOT CMAKE_CXX_FLAGS MATCHES "-Werror") -- endif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- - # Disable C++ exceptions. - string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions") diff --git a/snappy.cc b/snappy.cc index d414718..5b0d0d6 100644 --- a/snappy.cc