Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4206)

Unified Diff: build/common.gypi

Issue 18124002: roll clang 182481:184830 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698