From 003bba47ccd0b57e20192b6123b1be643f35da83 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 3 Dec 2021 21:00:38 -0700 Subject: libunwind: patch to silence warning Not sure why this warning is being emitted; let's reexamine it on the next libunwind upgrade. I triggered it with this: zig c++ -o hello hello.cpp -target x86_64-windows --- lib/libunwind/src/Unwind-seh.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libunwind/src/Unwind-seh.cpp') diff --git a/lib/libunwind/src/Unwind-seh.cpp b/lib/libunwind/src/Unwind-seh.cpp index 6e2b4e73e4..56a52506e1 100644 --- a/lib/libunwind/src/Unwind-seh.cpp +++ b/lib/libunwind/src/Unwind-seh.cpp @@ -28,6 +28,8 @@ #include "libunwind_ext.h" #include "UnwindCursor.hpp" +#pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration" + using namespace libunwind; #define STATUS_USER_DEFINED (1u << 29) -- cgit v1.2.3