mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 04:47:29 +02:00
Set BOOST_ASIO_NO_DEPRECATED
This commit is contained in:
@ -7,6 +7,7 @@ Version 91:
|
||||
* Tidy up MSVC CMakeLists.txt
|
||||
* Optimize buffered_read_stream
|
||||
* constexpr in derived buffers
|
||||
* Set BOOST_ASIO_NO_DEPRECATED
|
||||
|
||||
WebSocket:
|
||||
|
||||
|
@ -21,6 +21,7 @@ if (MSVC)
|
||||
add_definitions (-D_WIN32_WINNT=0x0601)
|
||||
add_definitions (-D_SCL_SECURE_NO_WARNINGS=1)
|
||||
add_definitions (-D_CRT_SECURE_NO_WARNINGS=1)
|
||||
add_definitions (-DBOOST_ASIO_NO_DEPRECATED=1)
|
||||
|
||||
add_compile_options(
|
||||
/bigobj # large object file format
|
||||
|
1
Jamfile
1
Jamfile
@ -88,6 +88,7 @@ project beast
|
||||
<define>BOOST_ASIO_DISABLE_BOOST_BIND=1
|
||||
<define>BOOST_ASIO_DISABLE_BOOST_DATE_TIME=1
|
||||
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
|
||||
<define>BOOST_ASIO_NO_DEPRECATED=1
|
||||
<toolset>gcc:<cxxflags>-std=c++11
|
||||
<toolset>clang:<cxxflags>-std=c++11
|
||||
<toolset>clang:<cxxflags>-Wrange-loop-analysis
|
||||
|
Reference in New Issue
Block a user