From 558d0ead17e62a95797b6334ef943352df71e448 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 25 Nov 2022 21:13:57 +0200 Subject: [PATCH] Suppress std::complex warning under clang-cl --- test/hash_complex_test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/hash_complex_test.cpp b/test/hash_complex_test.cpp index 300c8e0..f5f6091 100644 --- a/test/hash_complex_test.cpp +++ b/test/hash_complex_test.cpp @@ -3,6 +3,8 @@ // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +#define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING + #include "./config.hpp" #if !defined(BOOST_HASH_TEST_EXTENSIONS)