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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2794543002: Enable -Wdeprecated-register in CrOS builds. (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 097f0372c0630a51bb02a026cf8b4299690c7a66..c02d4e6dec464e902b3ef2c556f939eecf383edf 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1073,10 +1073,8 @@ config("default_warnings") {
"-Wno-inconsistent-missing-override",
]
- if (is_chromeos || (is_linux && target_cpu == "x86")) {
+ if (is_linux && target_cpu == "x86") {
cflags += [
- # TODO(thakis): Figure out why CrOS needs this, fix, remove.
- # https://crbug.com/806812
# TODO(thakis): Remove from 32-bit Linux eventually, https://707084
"-Wno-deprecated-register",
]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698