aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch')
-rw-r--r--vcpkg/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch b/vcpkg/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch
new file mode 100644
index 0000000..f35a2c5
--- /dev/null
+++ b/vcpkg/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch
@@ -0,0 +1,16 @@
+diff --git a/Common.cmake b/Common.cmake
+index 31d8116..f46cbc3 100644
+--- a/Common.cmake
++++ b/Common.cmake
+@@ -12,9 +12,9 @@ endif()
+ #
+ # This method was taken from https://www.pragmaticlinux.com/2022/07/enable-compiler-warnings-with-cmake/
+ target_compile_options(${PROJECT_NAME} PRIVATE
+- $<$<CXX_COMPILER_ID:MSVC>:/W4 /WX>
++ $<$<CXX_COMPILER_ID:MSVC>:/W4>
+ $<$<NOT:$<CXX_COMPILER_ID:MSVC>>:
+- -Wall -Wextra -Wpedantic -Werror
++ -Wall -Wextra -Wpedantic
+
+ # We're using the `long long` type intentionally. Although it's not part of C++98, in
+ # practice it is usually supported even by ancient compilers with very limited C++11