1. g++ -std=c++0x -O3 -Wall -Wextra -pedantic -Winit-self -Wshadow -Wformat=2 -Wmissing-declarations -Wstrict-overflow=5 -Wcast-align -Wcast-qual -Wconversion -Wunused-macros -Wwrite-strings -DNDEBUG -D_POSIX_C_SOURCE=200809L -DTERMITE_VERSION=\"v6-39-gf0ff025\" -DVTE_SEAL_ENABLE -pthread -I/usr/local/include/vte-2.90 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -Wno-missing-field-initializers -s -Wl,--as-needed termite.cc -L/usr/local/lib -lvte2_90 -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lX11 -o termite
  2. fenriz in termite ix ~/errors.txt
  3. http://ix.io/8oq
  4. fenriz in termite sudo make
  5. g++ -std=c++0x -O3 -Wall -Wextra -pedantic -Winit-self -Wshadow -Wformat=2 -Wmissing-declarations -Wstrict-overflow=5 -Wcast-align -Wcast-qual -Wconversion -Wunused-macros -Wwrite-strings -DNDEBUG -D_POSIX_C_SOURCE=200809L -DTERMITE_VERSION=\"v6-39-gf0ff025\" -DVTE_SEAL_ENABLE -pthread -I/usr/local/include/vte-2.90 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -Wno-missing-field-initializers -s -Wl,--as-needed termite.cc -L/usr/local/lib -lvte2_90 -lgtk-3 -lgdk-3 -latk-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lX11 -o termite
  6. In file included from termite.cc:37:0:
  7. util/maybe.hh:44:3: error: a class-key must be used when declaring a friend
  8. util/maybe.hh:44:3: error: friend declaration does not name a class or function
  9. util/maybe.hh:69:38: error: ‘is_nothrow_copy_constructible’ is not a member of ‘std’
  10. util/maybe.hh:69:74: error: expected primary-expression before ‘>’ token
  11. util/maybe.hh:69:75: error: ‘::value’ has not been declared
  12. util/maybe.hh:76:33: error: ‘is_nothrow_move_constructible’ is not a member of ‘std’
  13. util/maybe.hh:76:69: error: expected primary-expression before ‘>’ token
  14. util/maybe.hh:76:70: error: ‘::value’ has not been declared
  15. termite.cc: In function ‘void set_opacity(GtkWidget*, VteTerminal*, double, gboolean)’:
  16. termite.cc:136:5: warning: ‘void vte_terminal_set_background_saturation(VteTerminal*, double)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:111) [-Wdeprecated-declarations]
  17. termite.cc:136:56: warning: ‘void vte_terminal_set_background_saturation(VteTerminal*, double)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:111) [-Wdeprecated-declarations]
  18. termite.cc:137:5: warning: ‘void vte_terminal_set_background_transparent(VteTerminal*, gboolean)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:113) [-Wdeprecated-declarations]
  19. termite.cc:137:56: warning: ‘void vte_terminal_set_background_transparent(VteTerminal*, gboolean)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:113) [-Wdeprecated-declarations]
  20. termite.cc:143:9: warning: ‘void vte_terminal_set_opacity(VteTerminal*, guint16)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:115) [-Wdeprecated-declarations]
  21. termite.cc:143:72: warning: ‘void vte_terminal_set_opacity(VteTerminal*, guint16)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:115) [-Wdeprecated-declarations]
  22. termite.cc:146:9: warning: ‘void vte_terminal_set_opacity(VteTerminal*, guint16)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:115) [-Wdeprecated-declarations]
  23. termite.cc:146:50: warning: ‘void vte_terminal_set_opacity(VteTerminal*, guint16)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:115) [-Wdeprecated-declarations]
  24. termite.cc: In function ‘void update_selection(VteTerminal*, const select_info*)’:
  25. termite.cc:321:85: error: ‘vte_terminal_set_selection_block_mode’ was not declared in this scope
  26. termite.cc:328:60: error: ‘vte_terminal_select_text’ was not declared in this scope
  27. termite.cc:331:74: error: ‘vte_terminal_select_text’ was not declared in this scope
  28. termite.cc:337:73: error: ‘vte_terminal_select_text’ was not declared in this scope
  29. termite.cc:343:73: error: ‘vte_terminal_select_text’ was not declared in this scope
  30. termite.cc: In function ‘void enter_command_mode(VteTerminal*, select_info*)’:
  31. termite.cc:350:41: error: ‘vte_terminal_disconnect_pty_read’ was not declared in this scope
  32. termite.cc: In function ‘void exit_command_mode(VteTerminal*, select_info*)’:
  33. termite.cc:357:81: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  34. termite.cc:358:38: error: ‘vte_terminal_connect_pty_read’ was not declared in this scope
  35. termite.cc: In function ‘void move(VteTerminal*, select_info*, long int, long int)’:
  36. termite.cc:407:92: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  37. termite.cc: In function ‘void move_to_row_start(VteTerminal*, select_info*, long int)’:
  38. termite.cc:414:49: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  39. termite.cc: In function ‘void move_backward(VteTerminal*, select_info*, F)’:
  40. termite.cc:468:65: error: there are no arguments to ‘vte_terminal_set_cursor_position’ that depend on a template parameter, so a declaration of ‘vte_terminal_set_cursor_position’ must be available [-fpermissive]
  41. termite.cc:468:65: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
  42. termite.cc: In function ‘void set_cursor_column(VteTerminal*, const select_info*, long int)’:
  43. termite.cc:514:61: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  44. termite.cc: In function ‘void move_forward(VteTerminal*, select_info*, F)’:
  45. termite.cc:580:65: error: there are no arguments to ‘vte_terminal_set_cursor_position’ that depend on a template parameter, so a declaration of ‘vte_terminal_set_cursor_position’ must be available [-fpermissive]
  46. termite.cc: In function ‘void load_theme(GtkWindow*, VteTerminal*, GKeyFile*, hint_info&)’:
  47. termite.cc:1120:9: warning: ‘void vte_terminal_set_background_tint_color(VteTerminal*, const GdkColor*)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:109) [-Wdeprecated-declarations]
  48. termite.cc:1120:60: warning: ‘void vte_terminal_set_background_tint_color(VteTerminal*, const GdkColor*)’ is deprecated (declared at /usr/local/include/vte-2.90/vte/vtedeprecated.h:109) [-Wdeprecated-declarations]
  49. termite.cc: In function ‘int main(int, char**)’:
  50. termite.cc:1355:69: error: ‘vte_terminal_get_user_shell_with_fallback’ was not declared in this scope
  51. termite.cc: In function ‘void move_backward(VteTerminal*, select_info*, F) [with F = std::_Bind<int (*(_VteTerminal*, std::_Placeholder<1>))(_VteTerminal*, unsigned int)>, VteTerminal = _VteTerminal]’:
  52. termite.cc:475:77: instantiated from here
  53. termite.cc:468:5: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  54. termite.cc: In function ‘void move_backward(VteTerminal*, select_info*, F) [with F = std::unary_negate<std::reference_wrapper<int(unsigned int)> >, VteTerminal = _VteTerminal]’:
  55. termite.cc:479:70: instantiated from here
  56. termite.cc:468:5: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  57. termite.cc: In function ‘void move_forward(VteTerminal*, select_info*, F) [with F = std::_Bind<int (*(_VteTerminal*, std::_Placeholder<1>))(_VteTerminal*, unsigned int)>, VteTerminal = _VteTerminal]’:
  58. termite.cc:587:76: instantiated from here
  59. termite.cc:580:5: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  60. termite.cc: In function ‘void move_forward(VteTerminal*, select_info*, F) [with F = std::unary_negate<std::reference_wrapper<int(unsigned int)> >, VteTerminal = _VteTerminal]’:
  61. termite.cc:591:69: instantiated from here
  62. termite.cc:580:5: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  63. termite.cc: In function ‘void move_first(VteTerminal*, select_info*, F) [with F = std::unary_negate<std::reference_wrapper<int(unsigned int)> >, VteTerminal = _VteTerminal]’:
  64. termite.cc:702:86: instantiated from here
  65. termite.cc:504:9: error: ‘vte_terminal_set_cursor_position’ was not declared in this scope
  66. make: *** [termite] Error 1