Do not specify exception handling mode on Windows

Like Chromium does. Also disable related warnings.
This commit is contained in:
Aleksei Kuzmin 2017-10-10 21:31:28 +03:00 committed by Cheng Zhao
parent 69cd33395a
commit 3a3eb69d0f
2 changed files with 2 additions and 5 deletions

View file

@ -54,11 +54,6 @@
'WarningLevel': '4',
'WarnAsError': 'true',
'DebugInformationFormat': '3',
# Programs that use the Standard C++ library must be compiled with
# C++
# exception handling enabled.
# http://support.microsoft.com/kb/154419
'ExceptionHandling': 1,
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',

View file

@ -245,6 +245,8 @@
4302, # (atldlgs.h) 'type cast': truncation from 'LPCTSTR' to 'WORD'
4458, # (atldlgs.h) declaration of 'dwCommonButtons' hides class member
4503, # decorated name length exceeded, name was truncated
4530, # C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
4577, # 'noexcept' used with no exception handling mode specified
4714, # (atomicstring.h) function marked as __forceinline not inlined
4800, # (v8.h) forcing value to bool 'true' or 'false'
4819, # The file contains a character that cannot be represented in the current code page