Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 87de6cf

Browse files
committed
[[ VS2015 ]] Silence abundant warnings when building
This patch disables three specific warnings generated whilst building: - 4577: exception handling mode mismatch - 4800: performance warning about cast to bool - 4244: possible loss of data due to int truncation These need to be fixed properly at some point, however disabling them for now vastly reduces the build log size (making it easier to read) and decreases build time.
1 parent d015984 commit 87de6cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/win32.gypi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,12 @@
181181
'BufferSecurityCheck': 'false',
182182
'RuntimeTypeInfo': 'false',
183183
'Detect64BitPortabilityProblems': 'false',
184+
185+
# Silence abundent warnings to speed up build:
186+
# 4577: exception handling mode mismatch
187+
# 4800: performance warning about cast to bool
188+
# 4244: possible loss of data due to int-like truncation
189+
'DisableSpecificWarnings': '4577;4800;4244',
184190
},
185191

186192
'VCLibrarianTool':

0 commit comments

Comments
 (0)