diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-12-03 21:00:38 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-06 14:29:40 -0700 |
| commit | 003bba47ccd0b57e20192b6123b1be643f35da83 (patch) | |
| tree | 46709006baed5377e2b11d6fc2862053c7e090ee /lib/libunwind/src/libunwind.cpp | |
| parent | fffa89700e1726508b5e5a3807fbc3a33eeea88d (diff) | |
| download | zig-003bba47ccd0b57e20192b6123b1be643f35da83.tar.gz zig-003bba47ccd0b57e20192b6123b1be643f35da83.zip | |
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
Diffstat (limited to 'lib/libunwind/src/libunwind.cpp')
| -rw-r--r-- | lib/libunwind/src/libunwind.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libunwind/src/libunwind.cpp b/lib/libunwind/src/libunwind.cpp index 1faf000ce4..dca403c863 100644 --- a/lib/libunwind/src/libunwind.cpp +++ b/lib/libunwind/src/libunwind.cpp @@ -30,6 +30,8 @@ #include "AddressSpace.hpp" #include "UnwindCursor.hpp" +#pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration" + using namespace libunwind; /// internal object to represent this processes address space |
