summaryrefslogtreecommitdiff
path: root/common.gypi
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-04-16 10:18:08 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-04-16 10:18:08 -0400
commitcdf2228e0d3cd7818eb7c5b217a682555f80942b (patch)
tree16962b3d765463ac6954d0f271fd0b9a4848aeeb /common.gypi
parent05f8039981d6e10c6278da7b8812772217fdbc19 (diff)
downloadqtlocation-mapboxgl-cdf2228e0d3cd7818eb7c5b217a682555f80942b.tar.gz
report more warnings
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi
index 8737606c1f..b81a361f50 100644
--- a/common.gypi
+++ b/common.gypi
@@ -12,12 +12,15 @@
'cflags': [ '-g', '-O0' ],
'defines': [ 'DEBUG' ],
'xcode_settings': {
- 'OTHER_CPLUSPLUSFLAGS': [ '-g' ]
+ 'OTHER_CPLUSPLUSFLAGS': [ '-Wall', '-Wextra', '-pedantic', '-g', '-O0' ]
}
},
'Release': {
'cflags': [ '-O3' ],
'defines': [ 'NDEBUG' ],
+ 'xcode_settings': {
+ 'OTHER_CPLUSPLUSFLAGS': [ '-Wall', '-Wextra', '-pedantic', '-O3' ]
+ }
}
}
}