From b8496de2f2508b5e305601b38378508bf10a3f9b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 12 Oct 2023 12:43:37 +0300 Subject: [PATCH] Silence MSSTL has_denorm deprecation warnings --- test/hash_float_test.cpp | 2 ++ test/hash_long_double_test.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/hash_float_test.cpp b/test/hash_float_test.cpp index 2490f8d..a3f4c24 100644 --- a/test/hash_float_test.cpp +++ b/test/hash_float_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_CXX23_DENORM_DEPRECATION_WARNING + #include "hash_float_test.hpp" int main() diff --git a/test/hash_long_double_test.cpp b/test/hash_long_double_test.cpp index 860a679..b463df6 100644 --- a/test/hash_long_double_test.cpp +++ b/test/hash_long_double_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_CXX23_DENORM_DEPRECATION_WARNING + #include "hash_float_test.hpp" int main()