Skip to content

Commit 9aaba9d

Browse files
committed
[libcxx][test] Suppress complex<int> warnings when testing MSVC
1 parent 37b881a commit 9aaba9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcxx/test/support/msvc_stdlib_force_include.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ const AssertionDialogAvoider assertion_dialog_avoider{};
6969
// Restore features that are removed in C++20.
7070
#define _HAS_FEATURES_REMOVED_IN_CXX20 1
7171

72+
// Silence warnings about the unspecified complex<non-floating-point>
73+
#define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING
74+
7275
// Silence warnings about features that are deprecated in non-default language modes.
7376
#define _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS
7477
#define _SILENCE_ALL_CXX20_DEPRECATION_WARNINGS

0 commit comments

Comments
 (0)