summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 22:53:51 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 22:53:51 +0000
commit95250e4c742d27fad6e4bb737a8110a4ee63323c (patch)
tree4878d3c58b349177498802d89cb4a86bc5180147 /build
parentc9fe2cd069cc6f00ece6765c29cefb24a8276d71 (diff)
downloadchromium_src-95250e4c742d27fad6e4bb737a8110a4ee63323c.zip
chromium_src-95250e4c742d27fad6e4bb737a8110a4ee63323c.tar.gz
chromium_src-95250e4c742d27fad6e4bb737a8110a4ee63323c.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. BUG=34160 Review URL: http://codereview.chromium.org/597023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42688 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.