From 199c45009290dfc2edb483464499bc6c15c7aabb Mon Sep 17 00:00:00 2001 From: Ruben Perez Date: Mon, 1 Sep 2025 13:04:30 +0200 Subject: [PATCH] Disabled warning C4459 on MSVC, caused by Asio --- test/Jamfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Jamfile b/test/Jamfile index d156f1628..8ca81ae33 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -59,8 +59,9 @@ local requirements = BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS=1 BOOST_ALLOW_DEPRECATED_HEADERS=1 # Disable warning C4702: unreachable code, produced by Boost.Asio buffer.hpp + # Disable warning C4459: declaration xxx hides global declaration, produced by Boost.Asio win_iocp_file_service.ipp # Remove /wd4100 when PFR fixes warnings - msvc:"/bigobj /wd4702 /wd4100 /permissive-" + msvc:"/bigobj /wd4702 /wd4100 /wd4459 /permissive-" msvc:_SCL_SECURE_NO_WARNINGS=1 msvc:_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING msvc:_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING