I have narrowed it down to this:
scott@scott-stallion:~/footnote/build$ make [ 14%] Generating src/Widgets/Category.c, src/Widgets/Note.c, src/Widgets/TaggingArea.c, build/src/Config.c, src/Footnote.c /home/scott/footnote/src/Footnote.vala:72.30-72.76: error: invocation of void method not allowed as expression SQLHeavy.QueryResult res=db.execute ("SELECT name,id FROM 'categories'"); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 1 error(s), 0 warning(s) make[2]: *** [src/Widgets/Category.c] Error 1 make[1]: *** [CMakeFiles/footnote.dir/all] Error 2 make: *** [all] Error 2
The only thing I can think of is that I have an older sqlheavy version, since the http://code.coeusgroup.com/sqlheavy/valadoc/SQLHeavy/SQLHeavy.Query.execute.html valadoc clearly shows that this returns a QueryResult.
Hmmm, looking at my sqlheavy-0.1.vapi file installed, I have:
class Queryable { public virtual void execute (string sql, ssize_t max_len = -1) throws SQLHeavy.Error; }
Where do you use sqlheavy from?
I have narrowed it down to this:
scott@scott- stallion: ~/footnote/ build$ make Category. c, src/Widgets/Note.c, src/Widgets/ TaggingArea. c, build/src/Config.c, src/Footnote.c footnote/ src/Footnote. vala:72. 30-72.76: error: invocation of void method not allowed as expression QueryResult res=db.execute ("SELECT name,id FROM 'categories'");
^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ Category. c] Error 1 footnote. dir/all] Error 2
[ 14%] Generating src/Widgets/
/home/scott/
SQLHeavy.
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [src/Widgets/
make[1]: *** [CMakeFiles/
make: *** [all] Error 2
The only thing I can think of is that I have an older sqlheavy version, since the http:// code.coeusgroup .com/sqlheavy/ valadoc/ SQLHeavy/ SQLHeavy. Query.execute. html valadoc clearly shows that this returns a QueryResult.
Hmmm, looking at my sqlheavy-0.1.vapi file installed, I have:
class Queryable {
public virtual void execute (string sql, ssize_t max_len = -1) throws SQLHeavy.Error;
}
Where do you use sqlheavy from?