Skip to content

Commit 4bb6155

Browse files
bnoordhuisMylesBorins
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 ca4b2f6 commit 4bb6155

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

common.gypi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@
186186
'BufferSecurityCheck': 'true',
187187
'ExceptionHandling': 0, # /EHsc
188188
'SuppressStartupBanner': 'true',
189+
# Disable "warning C4267: conversion from 'size_t' to 'int',
190+
# possible loss of data". Many originate from our dependencies
191+
# and their sheer number drowns out other, more legitimate warnings.
192+
'DisableSpecificWarnings': ['4267'],
189193
'WarnAsError': 'false',
190194
},
191195
'VCLibrarianTool': {

0 commit comments

Comments
 (0)