Disable warnings in node.cc and string_bytes.cc
This commit is contained in:
parent
7226adee29
commit
90fbe5c06c
1 changed files with 3 additions and 1 deletions
|
@ -314,7 +314,7 @@
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
], # target_conditions
|
], # target_conditions
|
||||||
# Ignored compiler warnings of Chromium.
|
# Ignored compiler warnings of Chromium/Node.js
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS=="mac"', {
|
['OS=="mac"', {
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
|
@ -339,6 +339,7 @@
|
||||||
['OS=="win"', {
|
['OS=="win"', {
|
||||||
'msvs_disabled_warnings': [
|
'msvs_disabled_warnings': [
|
||||||
4100, # unreferenced formal parameter
|
4100, # unreferenced formal parameter
|
||||||
|
4102, # unreferencd label
|
||||||
4121, # alignment of a member was sensitive to packing
|
4121, # alignment of a member was sensitive to packing
|
||||||
4127, # conditional expression is constant
|
4127, # conditional expression is constant
|
||||||
4189, # local variable is initialized but not referenced
|
4189, # local variable is initialized but not referenced
|
||||||
|
@ -353,6 +354,7 @@
|
||||||
4512, # assignment operator could not be generated
|
4512, # assignment operator could not be generated
|
||||||
4610, # user defined constructor required
|
4610, # user defined constructor required
|
||||||
4702, # unreachable code
|
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
|
4819, # The file contains a character that cannot be represented in the current code page
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
|
|
Loading…
Reference in a new issue