Suppress a msvc warning
This commit is contained in:
parent
3a0db500d0
commit
ae2a85c3f0
@ -27,6 +27,13 @@
|
|||||||
#define CPPTRACE_FORCE_NO_INLINE __attribute__((noinline))
|
#define CPPTRACE_FORCE_NO_INLINE __attribute__((noinline))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
// warning C4251: using non-dll-exported type in dll-exported type, firing on std::vector<frame_ptr> and others for some
|
||||||
|
// reason
|
||||||
|
#pragma warning(disable: 4251)
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace cpptrace {
|
namespace cpptrace {
|
||||||
struct object_trace;
|
struct object_trace;
|
||||||
struct stacktrace;
|
struct stacktrace;
|
||||||
@ -408,4 +415,8 @@ namespace cpptrace {
|
|||||||
} \
|
} \
|
||||||
} ()
|
} ()
|
||||||
|
|
||||||
|
#if _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user