Make VS2015 build work

[66->31/130 ~33] CXX obj\util\stdlib\crashpad_util_test.aligned_allocator_test.obj
FAILED: ninja -t msvc -e environment.x86 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64_x86\cl.exe" /nologo /showIncludes /FC @obj\util\stdlib\crashpad_util_test.aligned_allocator_test.obj.rsp /c ..\..\util\stdlib\aligned_allocator_test.cc /Foobj\util\stdlib\crashpad_util_test.aligned_allocator_test.obj /Fdobj\util\crashpad_util_test.cc.pdb
d:\src\crashpad\crashpad\util\stdlib\aligned_allocator.h(74): error C2220: warning treated as error - no 'object' file generated
d:\src\crashpad\crashpad\util\stdlib\aligned_allocator.h(74): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc

Change-Id: I22dbfe0186992759272c668110862a7c6d98ca1d
Reviewed-on: https://chromium-review.googlesource.com/334734
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Scott Graham 2016-04-20 15:30:20 -07:00
parent 0d4438b2a5
commit 96dba6713a

View File

@ -265,6 +265,11 @@
4201, # nonstandard extension used : nameless struct/union.
4577, # 'noexcept' used with no exception handling mode specified
],
'direct_dependent_settings': {
'msvs_disabled_warnings': [
4577, # 'noexcept' used with no exception handling mode specified
],
},
'conditions': [
['target_arch=="ia32"', {
'msvs_settings': {