aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-23 11:13:56 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-23 11:13:56 +0000
commitfaa5ae456d184202993a5dbe782a3a95acc25326 (patch)
tree8d2e7c509a65656a711727f0848bc58cfd437196 /gyp
parent6ae6383f56704928838032ce6c46829e06201853 (diff)
Turn on -Wall -Wextra on Mac, and fix all the warnings that crop up for /usr/bin/g++ and Clang 3.3.
BUG= R=bungeman@google.com Author: mtklein@google.com Review URL: https://chromiumcodereview.appspot.com/19569012 git-svn-id: http://skia.googlecode.com/svn/trunk@10255 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r--gyp/common_conditions.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 1ff70f5890..2dcd36c2ba 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -302,6 +302,9 @@
'xcode_settings': {
'OTHER_CPLUSPLUSFLAGS': [
'-Werror',
+ '-Wall',
+ '-Wextra',
+ '-Wno-unused-parameter',
],
},
}],