forked from pokeb/asi-http-request
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added stricter build config file, with settings based on http://rentz…
…sch.tumblr.com/post/237349423/hoseyifyxcodewarnings-scpt (Thanks to lhunath for the idea - http://github.com/lhunath/asi-http-request/commit/d28fe4062bc2bb665e3d5828e2266584800f30d2) Made some changes to fix warnings Have disabled some settings, may re-enable in future: * Need formal protocols for delegates, as per llunath's fork * Should consider renaming S3 methods to prevent the clang warnings Fixed another issue with test breakage on Mac
- Loading branch information
Showing
8 changed files
with
85 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// strict.xcconfig | ||
// Mac | ||
// | ||
// Created by Ben Copsey on 25/11/2009. | ||
// Copyright 2009 All-Seeing Interactive. All rights reserved. | ||
// | ||
|
||
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES | ||
GCC_WARN_SHADOW = YES | ||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES | ||
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES | ||
//GCC_WARN_MISSING_PARENTHESES = YES | ||
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES | ||
//GCC_WARN_ABOUT_MISSING_NEWLINE = YES | ||
GCC_WARN_SIGN_COMPARE = YES | ||
GCC_WARN_STRICT_SELECTOR_MATCH = missing value | ||
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES | ||
//GCC_WARN_UNDECLARED_SELECTOR = YES | ||
GCC_WARN_UNUSED_FUNCTION = YES | ||
GCC_WARN_UNUSED_LABEL = YES | ||
GCC_WARN_UNUSED_VALUE = YES | ||
GCC_WARN_UNUSED_VARIABLE = YES | ||
GCC_TREAT_WARNINGS_AS_ERRORS = YES | ||
//RUN_CLANG_STATIC_ANALYZER = YES |