pass clangcl compile options to ignore warnings in gflags.cc
R=kjellander@webrtc.org, ajm@webrtc.org BUG=webrtc:760 Review URL: https://codereview.webrtc.org/1426883002 . Cr-Commit-Position: refs/heads/master@{#10440}
This commit is contained in:
parent
e55c42c13e
commit
b608eb865e
12
third_party/gflags/gflags.gyp
vendored
12
third_party/gflags/gflags.gyp
vendored
@ -66,6 +66,18 @@
|
||||
}],
|
||||
# TODO(andrew): Look into fixing this warning upstream:
|
||||
# http://code.google.com/p/webrtc/issues/detail?id=760
|
||||
['OS=="win" and clang==1', {
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions!': [
|
||||
'-Wheader-hygiene', # Suppress warning about using namespace.
|
||||
],
|
||||
'AdditionalOptions': [
|
||||
'-Wno-unused-local-typedef', # Suppress unused private typedef.
|
||||
],
|
||||
},
|
||||
},
|
||||
}],
|
||||
['clang==1', {
|
||||
'cflags!': ['-Wheader-hygiene',],
|
||||
'xcode_settings': {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user