diff options
author | thakis <thakis@chromium.org> | 2014-11-12 12:53:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-12 20:54:04 +0000 |
commit | 4970b5813302934cfc3df8ccd0b8647a912884a1 (patch) | |
tree | e37dff9f10da0c819d6a9cba7bf599c62d194656 /sdch/sdch.gyp | |
parent | 3a2200e8fcdc83989c6ee200fbdce5958ccd9011 (diff) | |
download | chromium_src-4970b5813302934cfc3df8ccd0b8647a912884a1.zip chromium_src-4970b5813302934cfc3df8ccd0b8647a912884a1.tar.gz chromium_src-4970b5813302934cfc3df8ccd0b8647a912884a1.tar.bz2 |
Enable -Wunused-local-typedef
BUG=321833
TBR=brettw
Review URL: https://codereview.chromium.org/722513003
Cr-Commit-Position: refs/heads/master@{#303892}
Diffstat (limited to 'sdch/sdch.gyp')
-rw-r--r-- | sdch/sdch.gyp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sdch/sdch.gyp b/sdch/sdch.gyp index 52a92f3..e886288 100644 --- a/sdch/sdch.gyp +++ b/sdch/sdch.gyp @@ -71,6 +71,11 @@ # introduce static initializers, and which prevents open-vcdiff's # logging.h from being used). 'variables': { + 'clang_warning_flags': [ + # sdch uses the pre-c++11 typedef-as-static_assert hack. + # https://code.google.com/p/open-vcdiff/issues/detail?id=44 + '-Wno-unused-local-typedef', + ], 'logging_path': 'logging_forward.h', 'conditions': [ # gyp leaves unspecified what the cwd is when running the compiler, |