Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scott@scott-stallion:~/footnote$ make
- valac footnote.vala --pkg gtk+-3.0 --pkg granite --pkg gdk-3.0 --pkg sqlheavy-0.1 --pkg gee-1.0 --pkg gdk-3.0 -o footnote
- footnote.vala:195.18-195.58: error: invocation of void method not allowed as expression
- for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- footnote.vala:195.14-195.58: error: var declaration not allowed with non-typed initializer
- for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- footnote.vala:195.74-195.76: error: The name `res' does not exist in the context of `Footnote.Note.get_count'
- for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
- ^^^
- footnote.vala:195.61-195.63: error: The name `res' does not exist in the context of `Footnote.Note.get_count'
- for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
- ^^^
- footnote.vala:262.18-262.63: error: invocation of void method not allowed as expression
- for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- footnote.vala:262.14-262.63: error: var declaration not allowed with non-typed initializer
- for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- footnote.vala:262.79-262.81: error: The name `res' does not exist in the context of `Footnote.Categorie.get_count'
- for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
- ^^^
- footnote.vala:262.66-262.68: error: The name `res' does not exist in the context of `Footnote.Categorie.get_count'
- for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
- ^^^
- footnote.vala:415.18-415.63: error: invocation of void method not allowed as expression
- for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- footnote.vala:415.14-415.63: error: var declaration not allowed with non-typed initializer
- for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- footnote.vala:415.79-415.81: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
- ^^^
- footnote.vala:415.66-415.68: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
- ^^^
- footnote.vala:416.41-416.43: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- new Categorie.from_existing (this, res.fetch_string(0), res.fetch_int(1));
- ^^^
- footnote.vala:416.62-416.64: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
- new Categorie.from_existing (this, res.fetch_string(0), res.fetch_int(1));
- ^^^
- Compilation failed: 14 error(s), 0 warning(s)
- make: *** [all] Error 1
- scott@scott-stallion:~/footnote$
Add Comment
Please, Sign In to add comment