| Index: build/common.gypi
|
| diff --git a/build/common.gypi b/build/common.gypi
|
| index 12ada0e96c045aedb78fbb48a13d63e31b7729de..86d133de7b9d495a64a4c5733b895a65b51fd1d3 100644
|
| --- a/build/common.gypi
|
| +++ b/build/common.gypi
|
| @@ -3129,6 +3129,11 @@
|
| # suffix. However, this is used heavily in NaCl code, so disable
|
| # the warning for now.
|
| '-Wno-reserved-user-defined-literal',
|
| +
|
| + # Clang considers the `register` keyword as deprecated, but e.g.
|
| + # code generated by flex (used in angle) contains that keyword.
|
| + # http://crbug.com/255186
|
| + '-Wno-deprecated-register',
|
| ],
|
| 'cflags_cc': [
|
| # See the comment in the Mac section for what it takes to move
|
| @@ -3826,6 +3831,11 @@
|
|
|
| # Warns when a const char[] is converted to bool.
|
| '-Wstring-conversion',
|
| +
|
| + # Clang considers the `register` keyword as deprecated, but e.g.
|
| + # code generated by flex (used in angle) contains that keyword.
|
| + # http://crbug.com/255186
|
| + '-Wno-deprecated-register',
|
| ],
|
| 'OTHER_CPLUSPLUSFLAGS': [
|
| # gnu++11 instead of c++11 is needed because some code uses
|
|
|