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