Set /permissive-

This commit is contained in:
Vinnie Falco
2018-07-12 08:50:54 -07:00
parent e8c6a82c3b
commit b7078c04c9
3 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
Version 177:
* Add test for issue #1188
* Set /permissive-
--------------------------------------------------------------------------------

View File

@@ -24,7 +24,7 @@ if (MSVC)
add_compile_options(
/bigobj # large object file format
#/permissive- # strict C++
/permissive- # strict C++
#/wd4503 # decorated name length exceeded, name was truncated
/W4 # enable all warnings
/MP # Multi-processor compilation

View File

@@ -88,7 +88,7 @@ project /boost/beast
<define>BOOST_ASIO_DISABLE_BOOST_REGEX=1
#<define>BOOST_ASIO_NO_DEPRECATED=1 # some tests use deprecated strand
<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>_CRT_SECURE_NO_WARNINGS=1
<toolset>msvc,<variant>release:<cxxflags>"/Ob2 /Oi /Ot"