Commit 811a5ec4 authored by Frank Barchard's avatar Frank Barchard

pass clangcl compile options to ignore warnings in gflags.cc

R=ajm@chromium.org, ajm@google.com
BUG=libyuv:513,webrtc:760

Review URL: https://codereview.chromium.org/1427643003 .
parent b86dbf24
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1526
Version: 1527
License: BSD
License File: LICENSE
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1526
#define LIBYUV_VERSION 1527
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
......@@ -63,6 +63,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': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment