Skip to content

Commit ae39dcb

Browse files
bnoordhuisitaloacasas
authored andcommitted
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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 0d4b0ed commit ae39dcb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common.gypi

+4
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@
188188
'BufferSecurityCheck': 'true',
189189
'ExceptionHandling': 0, # /EHsc
190190
'SuppressStartupBanner': 'true',
191+
# Disable "warning C4267: conversion from 'size_t' to 'int',
192+
# possible loss of data". Many originate from our dependencies
193+
# and their sheer number drowns out other, more legitimate warnings.
194+
'DisableSpecificWarnings': ['4267'],
191195
'WarnAsError': 'false',
192196
},
193197
'VCLibrarianTool': {

0 commit comments

Comments
 (0)