File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -69,18 +69,21 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
69
69
// Restore features that are removed in C++20.
70
70
#define _HAS_FEATURES_REMOVED_IN_CXX20 1
71
71
72
- // Silence warnings about features that are deprecated in C++17 and C++20 .
72
+ // Silence warnings about features that are deprecated in non-default language modes .
73
73
#define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
74
74
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS
75
+ #define _SILENCE_ALL_CXX23_DEPRECATION_WARNINGS
75
76
#endif // _LIBCXX_IN_DEVCRT
76
77
77
78
#include <version>
78
79
79
- #if _HAS_CXX20
80
+ #if _HAS_CXX23
80
81
#define TEST_STD_VER 99
82
+ #elif _HAS_CXX20
83
+ #define TEST_STD_VER 20
81
84
#elif _HAS_CXX17
82
85
#define TEST_STD_VER 17
83
- #else // !(_HAS_CXX20 || _HAS_CXX17)
86
+ #else
84
87
#define TEST_STD_VER 14
85
88
#endif
86
89
You can’t perform that action at this time.
0 commit comments