diff options
author | mtklein <mtklein@chromium.org> | 2014-06-30 12:33:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-06-30 12:33:11 -0700 |
commit | 170e00d6403c40114d6ffb800a5bfab73e0b0f34 (patch) | |
tree | 4a4c6af5e09842d4079c16174bf522679456d916 /gyp/libwebp.gyp | |
parent | 761b2509d59787a8920b2e98911cff9f88e0eb4e (diff) |
Have Clang builders build in C++11 mode.
This ought to get us a little ahead on the transition. Only minor fixes
are needed. The one in MemoryBench is the most interesting: what used
to unambiguously be interpreted as concatenating two string literals is
now also ambiguously a user-defined literal; adding a space
disambiguates.
BUG=skia:
R=bungeman@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/361723002
Diffstat (limited to 'gyp/libwebp.gyp')
-rw-r--r-- | gyp/libwebp.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gyp/libwebp.gyp b/gyp/libwebp.gyp index 22a51ba13f..64ad971798 100644 --- a/gyp/libwebp.gyp +++ b/gyp/libwebp.gyp @@ -4,6 +4,7 @@ { 'variables': { + 'skia_warnings_as_errors': 0, 'conditions':[ ['skia_android_framework == 1', { 'use_system_libwebp': 1, @@ -159,6 +160,9 @@ 'include_dirs': [ '../third_party/externals/libwebp/src', ], + 'cflags': [ + '-Wno-unused-function', # In C++11 mode, we get this warning when including decode.h. + ] }, 'conditions': [ ['OS!="win"', {'product_name': 'webp'}], |