build: disable C4267 conversion compiler warning

Disable "warning C4267: conversion from 'size_t' to 'int', possible
loss of data".  Many originate from our dependencies and their sheer
number drowns out other, more legitimate warnings.

PR-URL: https://github.com/nodejs/node/pull/11205
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
This commit is contained in:
Ben Noordhuis 2017-02-06 22:48:26 +01:00 committed by Myles Borins
parent ca4b2f6154
commit 4bb61553f0
No known key found for this signature in database
GPG Key ID: 933B01F40B5CA946

View File

@ -186,6 +186,10 @@
'BufferSecurityCheck': 'true', 'BufferSecurityCheck': 'true',
'ExceptionHandling': 0, # /EHsc 'ExceptionHandling': 0, # /EHsc
'SuppressStartupBanner': 'true', 'SuppressStartupBanner': 'true',
# Disable "warning C4267: conversion from 'size_t' to 'int',
# possible loss of data". Many originate from our dependencies
# and their sheer number drowns out other, more legitimate warnings.
'DisableSpecificWarnings': ['4267'],
'WarnAsError': 'false', 'WarnAsError': 'false',
}, },
'VCLibrarianTool': { 'VCLibrarianTool': {