Skip to content

Commit 6772b1d

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 d5d8a8d commit 6772b1d

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
@@ -185,6 +185,10 @@
185185
'BufferSecurityCheck': 'true',
186186
'ExceptionHandling': 0, # /EHsc
187187
'SuppressStartupBanner': 'true',
188+
# Disable "warning C4267: conversion from 'size_t' to 'int',
189+
# possible loss of data". Many originate from our dependencies
190+
# and their sheer number drowns out other, more legitimate warnings.
191+
'DisableSpecificWarnings': ['4267'],
188192
'WarnAsError': 'false',
189193
},
190194
'VCLibrarianTool': {

0 commit comments

Comments
 (0)