Source release 15.1.0
This commit is contained in:
8
third_party/protobuf.gypi
vendored
8
third_party/protobuf.gypi
vendored
@@ -58,6 +58,7 @@
|
||||
'-Wno-invalid-offsetof',
|
||||
'-Wno-cast-qual',
|
||||
'-Wno-ignored-qualifiers',
|
||||
'-Wno-inconsistent-missing-override',
|
||||
],
|
||||
'excluded_cflags': [
|
||||
# In addition to turning these off above, GYP's order-of-operations means
|
||||
@@ -69,6 +70,7 @@
|
||||
'-Winvalid-offsetof',
|
||||
'-Wcast-qual',
|
||||
'-Wignored-qualifiers',
|
||||
'-Winconsistent-missing-override',
|
||||
],
|
||||
},
|
||||
'target_defaults': {
|
||||
@@ -84,10 +86,8 @@
|
||||
'cflags_cc!': ['<@(excluded_cflags)'],
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'DisableSpecificWarnings': [
|
||||
'4005', # Duplicate #define with WIN32_LEAN_AND_MEAN.
|
||||
'4506', # Missing definition of inline template.
|
||||
],
|
||||
# Disable warnings for third-party code.
|
||||
'WarningLevel': '0',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user