summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2017-02-06 22:48:26 +0100
committerMyles Borins <myles.borins@gmail.com>2017-03-08 17:10:45 -0800
commit6772b1d81cbd2d941134a6f6c0d3e643b87213e7 (patch)
treeffd5f94fec00e323b11ffd214404ad3e1a4c44c0 /common.gypi
parentd5d8a8d7b5d9eeb0700cceaa8eeb27de2e5a1a0b (diff)
downloadnode-new-6772b1d81cbd2d941134a6f6c0d3e643b87213e7.tar.gz
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>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index 8a3179dae5..af9c6bafb0 100644
--- a/common.gypi
+++ b/common.gypi
@@ -185,6 +185,10 @@
'BufferSecurityCheck': 'true',
'ExceptionHandling': 0, # /EHsc
'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',
},
'VCLibrarianTool': {