From 170e00d6403c40114d6ffb800a5bfab73e0b0f34 Mon Sep 17 00:00:00 2001 From: mtklein Date: Mon, 30 Jun 2014 12:33:11 -0700 Subject: 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 --- gyp/libwebp.gyp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gyp/libwebp.gyp') 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'}], -- cgit v1.2.3