summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2017-02-06 22:48:26 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2017-02-09 14:43:55 +0100
commit97ebdf3bedfa1b2a78d3f851973dda8e1689a06f (patch)
tree983ebd7ac948ded988d1f91a9632dca7e407e616 /common.gypi
parentc38b6d2021f2a500e8fc050e9703c1745b375537 (diff)
downloadandroid-node-v8-97ebdf3bedfa1b2a78d3f851973dda8e1689a06f.tar.gz
android-node-v8-97ebdf3bedfa1b2a78d3f851973dda8e1689a06f.tar.bz2
android-node-v8-97ebdf3bedfa1b2a78d3f851973dda8e1689a06f.zip
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 d87205e5c3..0fa36197be 100644
--- a/common.gypi
+++ b/common.gypi
@@ -188,6 +188,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': {