From f332a52597fcf6e2adea856aa9a367ee1070f948 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 22 Jan 2023 04:54:46 +0200 Subject: [PATCH] Disable C4800 under msvc-14.0 --- test/result_value_construct5.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/result_value_construct5.cpp b/test/result_value_construct5.cpp index ab6cd2c..bfaf16a 100644 --- a/test/result_value_construct5.cpp +++ b/test/result_value_construct5.cpp @@ -2,6 +2,10 @@ // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt +#if defined(_MSC_VER) && _MSC_VER < 1910 +# pragma warning( disable: 4800 ) // forcing value to bool 'true' or 'false' +#endif + #include #include #include