tciuro/NanoStore

NSFNanoEngine: weak attribute only applies to objects

tciuro opened this issue · 0 comments

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.