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
4 files changed, 8 insertions(+), 0 deletions(-)
lib/libunwind/src/Unwind-seh.cpp+2
| ... | ... | @@ -28,6 +28,8 @@ |
| 28 | 28 | #include "libunwind_ext.h" |
| 29 | 29 | #include "UnwindCursor.hpp" |
| 30 | 30 | |
| 31 | #pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration" |
| 32 | |
| 31 | 33 | using namespace libunwind; |
| 32 | 34 | |
| 33 | 35 | #define STATUS_USER_DEFINED (1u << 29) |
lib/libunwind/src/UnwindLevel1-gcc-ext.c+2
| ... | ... | @@ -22,6 +22,8 @@ |
| 22 | 22 | #include "Unwind-EHABI.h" |
| 23 | 23 | #include "unwind.h" |
| 24 | 24 | |
| 25 | #pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration" |
| 26 | |
| 25 | 27 | #if defined(_LIBUNWIND_BUILD_ZERO_COST_APIS) |
| 26 | 28 | |
| 27 | 29 | #if defined(_LIBUNWIND_SUPPORT_SEH_UNWIND) |
lib/libunwind/src/UnwindLevel1.c+2
| ... | ... | @@ -30,6 +30,8 @@ |
| 30 | 30 | #include "libunwind_ext.h" |
| 31 | 31 | #include "unwind.h" |
| 32 | 32 | |
| 33 | #pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration" |
| 34 | |
| 33 | 35 | #if !defined(_LIBUNWIND_ARM_EHABI) && !defined(__USING_SJLJ_EXCEPTIONS__) |
| 34 | 36 | |
| 35 | 37 | #ifndef _LIBUNWIND_SUPPORT_SEH_UNWIND |
lib/libunwind/src/libunwind.cpp+2
| ... | ... | @@ -30,6 +30,8 @@ |
| 30 | 30 | #include "AddressSpace.hpp" |
| 31 | 31 | #include "UnwindCursor.hpp" |
| 32 | 32 | |
| 33 | #pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration" |
| 34 | |
| 33 | 35 | using namespace libunwind; |
| 34 | 36 | |
| 35 | 37 | /// internal object to represent this processes address space |