Disable warnings in node.cc and string_bytes.cc

This commit is contained in:
Kevin Sawicki 2017-07-31 18:02:17 -07:00 committed by Aleksei Kuzmin
parent 7226adee29
commit 90fbe5c06c

View file

@ -314,7 +314,7 @@
],
}],
], # target_conditions
# Ignored compiler warnings of Chromium.
# Ignored compiler warnings of Chromium/Node.js
'conditions': [
['OS=="mac"', {
'xcode_settings': {
@ -339,6 +339,7 @@
['OS=="win"', {
'msvs_disabled_warnings': [
4100, # unreferenced formal parameter
4102, # unreferencd label
4121, # alignment of a member was sensitive to packing
4127, # conditional expression is constant
4189, # local variable is initialized but not referenced
@ -353,6 +354,7 @@
4512, # assignment operator could not be generated
4610, # user defined constructor required
4702, # unreachable code
4715, # not all control paths return a value
4819, # The file contains a character that cannot be represented in the current code page
],
}],