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

Unified Diff: build/common.gypi

Issue 29263007: linux and chromeos: Turn on -Wunused-const-variable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 7 years, 2 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 | « ash/wm/system_background_controller.cc ('k') | chrome/app/breakpad_linux.cc » ('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 04c81e5731ba73b5558435e305ddb9fcb3bee899..2238a75036c52fe34d2246a03de5afc4acd47ab8 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -3198,10 +3198,6 @@
# http://crbug.com/255186
'-Wno-deprecated-register',
- # TODO(hans): Remove once we've cleaned up the warnings.
- # http://crbug.com/307668
- '-Wno-unused-const-variable',
-
# This warns about auto_ptr<>, used in third-party code.
'-Wno-deprecated-declarations',
],
@@ -3224,6 +3220,11 @@
'cflags_cc': [
'-Wno-implicit-exception-spec-mismatch',
],
+ 'cflags': [
+ # TODO(hans): Remove once we've cleaned up the warnings.
+ # http://crbug.com/307668
+ '-Wno-unused-const-variable',
+ ],
}],
['clang==1 and clang_use_chrome_plugins==1', {
'cflags': [
« no previous file with comments | « ash/wm/system_background_controller.cc ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698