Skip to content
Browse files

Fix 32-bit Mac build failure

Previous commit used an undeclared ivar in an @synthesize.
This is legal in the new runtime but not the old (32-bit Mac) one.
  • Loading branch information...
1 parent 92dfeeb commit 0f372450adad5e1931883c74bcf306f43d4c3f38 @snej snej committed Nov 2, 2012
Showing with 8 additions and 2 deletions.
  1. +1 −1 Couch/CouchQuery.h
  2. +1 −1 Couch/CouchQuery.m
  3. +6 −0 CouchCocoa.xcodeproj/project.pbxproj
View
2 Couch/CouchQuery.h
@@ -35,7 +35,7 @@ typedef enum {
NSString* _startKeyDocID;
NSString* _endKeyDocID;
CouchStaleness _stale;
- BOOL _descending, _prefetch, _sequences, _includeDeleted;
+ BOOL _descending, _prefetch, _sequences, _includeDeleted, _mapOnly;
NSArray *_keys;
NSUInteger _groupLevel;
NSError* _error;
View
2 Couch/CouchQuery.m
@@ -74,7 +74,7 @@ - (void) dealloc
@synthesize limit=_limit, skip=_skip, descending=_descending, startKey=_startKey, endKey=_endKey,
- prefetch=_prefetch, keys=_keys, mapOnly = _mapOnly, groupLevel=_groupLevel, startKeyDocID=_startKeyDocID,
+ prefetch=_prefetch, keys=_keys, mapOnly=_mapOnly, groupLevel=_groupLevel, startKeyDocID=_startKeyDocID,
endKeyDocID=_endKeyDocID, stale=_stale, sequences=_sequences,
includeDeleted=_includeDeleted, error=_error;
View
6 CouchCocoa.xcodeproj/project.pbxproj
@@ -1103,6 +1103,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CURRENT_PROJECT_VERSION = 14;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
@@ -1112,6 +1114,7 @@
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
MACOSX_DEPLOYMENT_TARGET = 10.7;
@@ -1126,6 +1129,8 @@
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
+ CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CURRENT_PROJECT_VERSION = 14;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
@@ -1134,6 +1139,7 @@
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 5.0;
MACOSX_DEPLOYMENT_TARGET = 10.7;

0 comments on commit 0f37245

Please sign in to comment.
Something went wrong with that request. Please try again.