Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 0f372450adad5e1931883c74bcf306f43d4c3f38 1 parent 92dfeeb
Jens Alfke snej authored
2  Couch/CouchQuery.h
View
@@ -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;
2  Couch/CouchQuery.m
View
@@ -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;
6 CouchCocoa.xcodeproj/project.pbxproj
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.