Skip to content

Commit 45687ea

Browse files
authored
Disabled warning C4459 on MSVC, caused by Asio
1 parent 6a82609 commit 45687ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Jamfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ local requirements =
5959
<define>BOOST_ASIO_HAS_DEFAULT_FUNCTION_TEMPLATE_ARGUMENTS=1
6060
<define>BOOST_ALLOW_DEPRECATED_HEADERS=1
6161
# Disable warning C4702: unreachable code, produced by Boost.Asio buffer.hpp
62+
# Disable warning C4459: declaration xxx hides global declaration, produced by Boost.Asio win_iocp_file_service.ipp
6263
# Remove /wd4100 when PFR fixes warnings
63-
<toolset>msvc:<cxxflags>"/bigobj /wd4702 /wd4100 /permissive-"
64+
<toolset>msvc:<cxxflags>"/bigobj /wd4702 /wd4100 /wd4459 /permissive-"
6465
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
6566
<toolset>msvc:<define>_SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING
6667
<toolset>msvc:<define>_SILENCE_CXX17_ADAPTOR_TYPEDEFS_DEPRECATION_WARNING

0 commit comments

Comments
 (0)