mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
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
This commit is contained in:
parent
fffa89700e
commit
003bba47cc
4 changed files with 8 additions and 0 deletions
2
lib/libunwind/src/Unwind-seh.cpp
vendored
2
lib/libunwind/src/Unwind-seh.cpp
vendored
|
|
@ -28,6 +28,8 @@
|
||||||
#include "libunwind_ext.h"
|
#include "libunwind_ext.h"
|
||||||
#include "UnwindCursor.hpp"
|
#include "UnwindCursor.hpp"
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration"
|
||||||
|
|
||||||
using namespace libunwind;
|
using namespace libunwind;
|
||||||
|
|
||||||
#define STATUS_USER_DEFINED (1u << 29)
|
#define STATUS_USER_DEFINED (1u << 29)
|
||||||
|
|
|
||||||
2
lib/libunwind/src/UnwindLevel1-gcc-ext.c
vendored
2
lib/libunwind/src/UnwindLevel1-gcc-ext.c
vendored
|
|
@ -22,6 +22,8 @@
|
||||||
#include "Unwind-EHABI.h"
|
#include "Unwind-EHABI.h"
|
||||||
#include "unwind.h"
|
#include "unwind.h"
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration"
|
||||||
|
|
||||||
#if defined(_LIBUNWIND_BUILD_ZERO_COST_APIS)
|
#if defined(_LIBUNWIND_BUILD_ZERO_COST_APIS)
|
||||||
|
|
||||||
#if defined(_LIBUNWIND_SUPPORT_SEH_UNWIND)
|
#if defined(_LIBUNWIND_SUPPORT_SEH_UNWIND)
|
||||||
|
|
|
||||||
2
lib/libunwind/src/UnwindLevel1.c
vendored
2
lib/libunwind/src/UnwindLevel1.c
vendored
|
|
@ -30,6 +30,8 @@
|
||||||
#include "libunwind_ext.h"
|
#include "libunwind_ext.h"
|
||||||
#include "unwind.h"
|
#include "unwind.h"
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration"
|
||||||
|
|
||||||
#if !defined(_LIBUNWIND_ARM_EHABI) && !defined(__USING_SJLJ_EXCEPTIONS__)
|
#if !defined(_LIBUNWIND_ARM_EHABI) && !defined(__USING_SJLJ_EXCEPTIONS__)
|
||||||
|
|
||||||
#ifndef _LIBUNWIND_SUPPORT_SEH_UNWIND
|
#ifndef _LIBUNWIND_SUPPORT_SEH_UNWIND
|
||||||
|
|
|
||||||
2
lib/libunwind/src/libunwind.cpp
vendored
2
lib/libunwind/src/libunwind.cpp
vendored
|
|
@ -30,6 +30,8 @@
|
||||||
#include "AddressSpace.hpp"
|
#include "AddressSpace.hpp"
|
||||||
#include "UnwindCursor.hpp"
|
#include "UnwindCursor.hpp"
|
||||||
|
|
||||||
|
#pragma clang diagnostic ignored "-Wdll-attribute-on-redeclaration"
|
||||||
|
|
||||||
using namespace libunwind;
|
using namespace libunwind;
|
||||||
|
|
||||||
/// internal object to represent this processes address space
|
/// internal object to represent this processes address space
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue