Permalink
Browse files

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: #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>
  • Loading branch information...
bnoordhuis authored and italoacasas committed Feb 6, 2017
1 parent 0d4b0ed commit ae39dcbffb105343260e342f0dc01bbc95cd9449
Showing with 4 additions and 0 deletions.
  1. +4 −0 common.gypi
View
@@ -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': {

0 comments on commit ae39dcb

Please sign in to comment.