tciuro / NanoStore

NanoStore is an open source, lightweight schema-less local key-value document store written in Objective-C for Mac OS X and iOS.
Other
404 stars 39 forks source link

NSFNanoEngine: weak attribute only applies to objects #71

Closed tciuro closed 11 years ago

tciuro commented 11 years ago

In NSFNanoEngine.m:

/Users/tciuro/Dropbox/NanoStoreWorld/NanoStore 2/Classes/Advanced/NSFNanoEngine.m:51:1: warning: property attribute in class extension does not match the primary class @property (nonatomic, weak) sqlite3 sqlite; ^ In file included from /Users/tciuro/Dropbox/NanoStoreWorld/NanoStore 2/Classes/Advanced/NSFNanoEngine.m:27: In file included from /Users/tciuro/Dropbox/NanoStoreWorld/NanoStore 2/Classes/Public/NanoStore.h:37: /Users/tciuro/Dropbox/NanoStoreWorld/NanoStore 2/Classes/Advanced/NSFNanoEngine.h:45:50: note: property declared here @property (nonatomic, assign, readonly) sqlite3 sqlite; ^ /Users/tciuro/Dropbox/NanoStoreWorld/NanoStore 2/Classes/Advanced/NSFNanoEngine.m:51:1: error: property with 'weak' attribute must be of object type @property (nonatomic, weak) sqlite3 *sqlite; ^ 1 warning and 1 error generated.