Guest User

Untitled

a guest
Apr 25th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. scott@scott-stallion:~/footnote$ make
  2. 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
  3. footnote.vala:195.18-195.58: error: invocation of void method not allowed as expression
  4. for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
  5. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  6. footnote.vala:195.14-195.58: error: var declaration not allowed with non-typed initializer
  7. for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
  8. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  9. footnote.vala:195.74-195.76: error: The name `res' does not exist in the context of `Footnote.Note.get_count'
  10. for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
  11. ^^^
  12. footnote.vala:195.61-195.63: error: The name `res' does not exist in the context of `Footnote.Note.get_count'
  13. for (var res=app.db.execute("SELECT id FROM 'notes';");!res.finished;res.next()){
  14. ^^^
  15. footnote.vala:262.18-262.63: error: invocation of void method not allowed as expression
  16. for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
  17. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18. footnote.vala:262.14-262.63: error: var declaration not allowed with non-typed initializer
  19. for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
  20. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  21. footnote.vala:262.79-262.81: error: The name `res' does not exist in the context of `Footnote.Categorie.get_count'
  22. for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
  23. ^^^
  24. footnote.vala:262.66-262.68: error: The name `res' does not exist in the context of `Footnote.Categorie.get_count'
  25. for (var res=app.db.execute("SELECT id FROM 'categories';");!res.finished;res.next()){
  26. ^^^
  27. footnote.vala:415.18-415.63: error: invocation of void method not allowed as expression
  28. for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
  29. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  30. footnote.vala:415.14-415.63: error: var declaration not allowed with non-typed initializer
  31. for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
  32. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  33. footnote.vala:415.79-415.81: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
  34. for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
  35. ^^^
  36. footnote.vala:415.66-415.68: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
  37. for (var res=db.execute("SELECT name,id FROM 'categories'");!res.finished;res.next()){
  38. ^^^
  39. footnote.vala:416.41-416.43: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
  40. new Categorie.from_existing (this, res.fetch_string(0), res.fetch_int(1));
  41. ^^^
  42. footnote.vala:416.62-416.64: error: The name `res' does not exist in the context of `Footnote.FootnoteApp.new'
  43. new Categorie.from_existing (this, res.fetch_string(0), res.fetch_int(1));
  44. ^^^
  45. Compilation failed: 14 error(s), 0 warning(s)
  46. make: *** [all] Error 1
  47. scott@scott-stallion:~/footnote$
Add Comment
Please, Sign In to add comment