Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 12e9e64448d1c194c849f0274106c0216f13749f..c8f64d0e60293f0d7e7cb0e8145cd9c218a546f8 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -2804,6 +2804,9 @@ |
| # 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', |
| + |
| + # Warns when a const char[] is converted to bool. |
| + '-Wstring-conversion', |
| ], |
| 'cflags!': [ |
| # Clang doesn't seem to know know this flag. |