diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/pulsar-client-cpp/disable-warnings.patch | |
Diffstat (limited to 'vcpkg/ports/pulsar-client-cpp/disable-warnings.patch')
| -rw-r--r-- | vcpkg/ports/pulsar-client-cpp/disable-warnings.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/pulsar-client-cpp/disable-warnings.patch b/vcpkg/ports/pulsar-client-cpp/disable-warnings.patch new file mode 100644 index 0000000..644015e --- /dev/null +++ b/vcpkg/ports/pulsar-client-cpp/disable-warnings.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b004653..4b7abd9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -88,7 +88,6 @@ 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) + # 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) |