summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 00:03:50 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-26 00:03:50 +0000
commit98254d2e71ed3da0f3b11fce3be11369019488ca (patch)
treeb98ec83822c4f54235ebd6567cadadd56c4cf282 /build
parentde654e242cd46f57c373abe05f058fe094dc6410 (diff)
downloadchromium_src-98254d2e71ed3da0f3b11fce3be11369019488ca.zip
chromium_src-98254d2e71ed3da0f3b11fce3be11369019488ca.tar.gz
chromium_src-98254d2e71ed3da0f3b11fce3be11369019488ca.tar.bz2
linux: turn on -Wextra
This is a followup to an earlier change (r38266) which did most of the warning-related cleanup. This one just flips the flag, and fixes some new warnings that crept in during the window while the flag was off. Second try, now with some libpng fixes. BUG=34160 Review URL: http://codereview.chromium.org/1320011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42700 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 6442f40..a4328bb 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -704,8 +704,7 @@
'-pthread',
'-fno-exceptions',
'-Wall',
- # TODO(evan): turn this back on once the v8 change lands.
- #'-Wextra',
+ '-Wextra',
# Don't warn about unused function params. We use those everywhere.
'-Wno-unused-parameter',
# Don't warn about the "struct foo f = {0};" initialization pattern.