forked from boostorg/beast
Set /permissive-
This commit is contained in:
1 parent
e8c6a82c3b
commit
b7078c04c9
3 files changed
+3
-2
No files matched your search
@@ -1,6 +1,7 @@
|
||||
Version 177:
|
||||
|
||||
* Add test for issue #1188
|
||||
* Set /permissive-
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user