Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Use escape hook for removal of <ciso646>
Browse files Browse the repository at this point in the history
<ciso646> has been removed in C++20, which breaks the build against MSVC. Fortunately, there is an escape hatch that we can use to silence the deprecation warning and buy us some time until we settle on a better solution
  • Loading branch information
miscco committed Sep 12, 2022
1 parent d4bd0f6 commit bc2ec11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .upstream-tests/test/support/msvc_stdlib_force_include.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS
#endif // _LIBCXX_IN_DEVCRT

#define _SILENCE_CXX20_CISO646_REMOVED_WARNING
#include <ciso646>

#if _HAS_CXX20
Expand Down

0 comments on commit bc2ec11

Please sign in to comment.