Skip to content

Add _SILENCE_ALL_CXX23_DEPRECATION_WARNINGS to msvc_stdlib_force_include.h #53957

@AlexGuteniev

Description

@AlexGuteniev

P1413R3 Deprecated aligned_storage And aligned_union

When MSVC implements this in microsoft/STL#2533, it needs another deprecation disable macro to be added here:

// Silence warnings about features that are deprecated in C++17 and C++20.
#define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS

It is _SILENCE_ALL_CXX23_DEPRECATION_WARNINGS, similar to the two existing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.test-suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions