diff --git a/stl/inc/stacktrace b/stl/inc/stacktrace index 36491311950..9199a92c44e 100644 --- a/stl/inc/stacktrace +++ b/stl/inc/stacktrace @@ -25,6 +25,11 @@ _STL_DISABLE_CLANG_WARNINGS #pragma push_macro("new") #undef new +// TRANSITION, VSO-1885306: warning C5039 shouldn't be emitted when an extern "C" function is marked noexcept(false) +#pragma warning(disable : 5039) // '__std_stacktrace_meow': pointer or reference to potentially throwing function + // passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this + // function throws an exception. (/Wall) + // The separately compiled part of the implementation calls a function pointer of _Stacktrace_string_fill // type to allocate a buffer for string output. The called function does the buffer allocation and calls a function // pointer of _Stacktrace_string_fill_callback type to fill the buffer. This is needed to type-erase or diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index b013fdc5775..9db56efd528 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -796,6 +796,8 @@ // warning C5026: move constructor was implicitly defined as deleted (/Wall) // warning C5027: move assignment operator was implicitly defined as deleted (/Wall) // warning C5045: Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified (/Wall) +// warning C5220: a non-static data member with a volatile qualified type no longer implies that compiler generated +// copy/move constructors and copy/move assignment operators are not trivial (/Wall) // warning C6294: Ill-defined for-loop: initial condition does not satisfy test. Loop body not executed #ifndef _STL_DISABLED_WARNINGS @@ -803,7 +805,7 @@ #define _STL_DISABLED_WARNINGS \ 4180 4412 4455 4494 4514 4574 4582 4583 4587 4588 \ 4619 4623 4625 4626 4643 4648 4702 4793 4820 4988 \ - 5026 5027 5045 6294 \ + 5026 5027 5045 5220 6294 \ _STL_DISABLED_WARNING_C4577 \ _STL_DISABLED_WARNING_C4984 \ _STL_DISABLED_WARNING_C5053 \