forked from boostorg/beast
Set /permissive-
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
Version 177:
|
Version 177:
|
||||||
|
|
||||||
* Add test for issue #1188
|
* Add test for issue #1188
|
||||||
|
* Set /permissive-
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ if (MSVC)
|
|||||||
|
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
/bigobj # large object file format
|
/bigobj # large object file format
|
||||||
#/permissive- # strict C++
|
/permissive- # strict C++
|
||||||
#/wd4503 # decorated name length exceeded, name was truncated
|
#/wd4503 # decorated name length exceeded, name was truncated
|
||||||
/W4 # enable all warnings
|
/W4 # enable all warnings
|
||||||
/MP # Multi-processor compilation
|
/MP # Multi-processor compilation
|
||||||
|
2
Jamfile
2
Jamfile
@@ -88,7 +88,7 @@ project /boost/beast
|
|||||||
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
|
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
|
||||||
#<define>BOOST_ASIO_NO_DEPRECATED=1 # some tests use deprecated strand
|
#<define>BOOST_ASIO_NO_DEPRECATED=1 # some tests use deprecated strand
|
||||||
<define>BOOST_COROUTINES_NO_DEPRECATION_WARNING=1
|
<define>BOOST_COROUTINES_NO_DEPRECATION_WARNING=1
|
||||||
<toolset>msvc:<cxxflags>"/bigobj"
|
<toolset>msvc:<cxxflags>"/bigobj /permissive-"
|
||||||
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
|
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS=1
|
||||||
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS=1
|
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS=1
|
||||||
<toolset>msvc,<variant>release:<cxxflags>"/Ob2 /Oi /Ot"
|
<toolset>msvc,<variant>release:<cxxflags>"/Ob2 /Oi /Ot"
|
||||||
|
Reference in New Issue
Block a user