summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/Crawl.xcodeproj
diff options
context:
space:
mode:
authornlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-13 04:18:50 +0000
committernlanza <nlanza@c06c8d41-db1a-0410-9941-cceddc491573>2006-08-13 04:18:50 +0000
commitdc67e25c67c6674b32635df5c1ac03bbd163a723 (patch)
treecd427f954aba93bbcd77c07534d5cd99edb9dea7 /crawl-ref/source/Crawl.xcodeproj
parent67ea2cc27bc06dde5102bae9de4c7a30c55d0343 (diff)
downloadcrawl-ref-dc67e25c67c6674b32635df5c1ac03bbd163a723.tar.gz
crawl-ref-dc67e25c67c6674b32635df5c1ac03bbd163a723.zip
Add a metric ton of compiler warnings to the Xcode project, and clean
up the source accordingly. At some point these warnings should be merged into the makefile system, but I don't have the will to merge them into the 3451351235 individual makefiles at the moment. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@12 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/Crawl.xcodeproj')
-rw-r--r--crawl-ref/source/Crawl.xcodeproj/project.pbxproj9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/Crawl.xcodeproj/project.pbxproj b/crawl-ref/source/Crawl.xcodeproj/project.pbxproj
index 7cc559cb6b..418dde20a2 100644
--- a/crawl-ref/source/Crawl.xcodeproj/project.pbxproj
+++ b/crawl-ref/source/Crawl.xcodeproj/project.pbxproj
@@ -687,8 +687,17 @@
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_CHECK_SWITCH_STATEMENTS = YES;
+ GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
+ GCC_WARN_MISSING_PARENTHESES = YES;
+ GCC_WARN_PEDANTIC = YES;
+ GCC_WARN_SHADOW = NO;
+ GCC_WARN_SIGN_COMPARE = YES;
+ GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
+ GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_LABEL = YES;
+ GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;