| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 2000f9f27ffff629da1e21101acb3c87afd092de..9dd440a352e50162cfc39278dc5bae7e5bdb5dae 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -1945,6 +1945,15 @@
|
| # This (rightyfully) complains about 'override', which we use
|
| # heavily.
|
| '-Wno-c++11-extensions',
|
| +
|
| + # Warns on switches on enums that cover all enum values but
|
| + # also contain a default: branch. Chrome is full of that.
|
| + '-Wno-covered-switch-default',
|
| +
|
| + # TODO(thakis): Reenable once this no longer complains about
|
| + # Invalid() in gmocks's gmock-internal-utils.h
|
| + # http://crbug.com/111806
|
| + '-Wno-null-dereference',
|
| ],
|
| 'cflags!': [
|
| # Clang doesn't seem to know know this flag.
|
| @@ -2298,6 +2307,15 @@
|
| # This (rightyfully) complains about 'override', which we use
|
| # heavily.
|
| '-Wno-c++11-extensions',
|
| +
|
| + # Warns on switches on enums that cover all enum values but
|
| + # also contain a default: branch. Chrome is full of that.
|
| + '-Wno-covered-switch-default',
|
| +
|
| + # TODO(thakis): Reenable once this no longer complains about
|
| + # Invalid() in gmock's gmock-internal-utils.h
|
| + # http://crbug.com/111806
|
| + '-Wno-null-dereference',
|
| ],
|
| }],
|
| ['clang==1 and clang_use_chrome_plugins==1', {
|
|
|