[ 59%] Building C object CMakeFiles/gnome-ring.dir/pixmaps/pixmaps.gresource.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
[ 60%] Building C object CMakeFiles/gnome-ring.dir/ui/ui.gresource.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
[ 61%] Building C object CMakeFiles/gnome-ring.dir/web/web.gresource.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
[ 62%] Building C object CMakeFiles/gnome-ring.dir/sounds/sounds.gresource.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
[ 63%] Building CXX object CMakeFiles/gnome-ring.dir/src/main.cpp.o
[ 64%] Building CXX object CMakeFiles/gnome-ring.dir/src/ring_client.cpp.o
ring-client-gnome/src/ring_client.cpp: In function ‘void ring_client_open(GApplication*, GFile**, gint, const gchar*)’:
ring-client-gnome/src/ring_client.cpp:356:45: warning: unused parameter ‘file’ [-Wunused-parameter]
ring_client_open(GApplication *app, GFile **file, gint /*arg3*/, const gchar* /*arg4*/)
~~~~~~~~^~~~
[ 65%] Building C object CMakeFiles/gnome-ring.dir/src/ring_client_options.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
[ 66%] Building CXX object CMakeFiles/gnome-ring.dir/src/ringmainwindow.cpp.o
...
[ 72%] Building CXX object CMakeFiles/gnome-ring.dir/src/video/video_widget.cpp.o
ring-client-gnome/src/video/video_widget.cpp: In function ‘void switch_video_input_screen_area(GtkWidget*, GtkWidget*)’:
ring-client-gnome/src/video/video_widget.cpp:444:34: warning: ‘gint gdk_screen_width()’ is deprecated [-Wdeprecated-declarations]
width = gdk_screen_width();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here
gint gdk_screen_width (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:444:34: warning: ‘gint gdk_screen_width()’ is deprecated [-Wdeprecated-declarations]
width = gdk_screen_width();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here
gint gdk_screen_width (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:445:36: warning: ‘gint gdk_screen_height()’ is deprecated [-Wdeprecated-declarations]
height = gdk_screen_height();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here
gint gdk_screen_height (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:445:36: warning: ‘gint gdk_screen_height()’ is deprecated [-Wdeprecated-declarations]
height = gdk_screen_height();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here
gint gdk_screen_height (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp: In function ‘void switch_video_input_monitor(GtkWidget*, GtkWidget*)’:
ring-client-gnome/src/video/video_widget.cpp:473:30: warning: ‘gint gdk_screen_width()’ is deprecated [-Wdeprecated-declarations]
width = gdk_screen_width();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here
gint gdk_screen_width (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:473:30: warning: ‘gint gdk_screen_width()’ is deprecated [-Wdeprecated-declarations]
width = gdk_screen_width();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here
gint gdk_screen_width (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:474:32: warning: ‘gint gdk_screen_height()’ is deprecated [-Wdeprecated-declarations]
height = gdk_screen_height();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here
gint gdk_screen_height (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:474:32: warning: ‘gint gdk_screen_height()’ is deprecated [-Wdeprecated-declarations]
height = gdk_screen_height();
^
In file included from /usr/include/gtk-3.0/gdk/gdk.h:50,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here
gint gdk_screen_height (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp: In function ‘gboolean video_widget_on_button_press_in_screen_event(VideoWidget*, GdkEventButton*, gpointer)’:
ring-client-gnome/src/video/video_widget.cpp:527:60: warning: cast between incompatible function types from ‘void (*)(GtkWidget*)’ {aka ‘void (*)(_GtkWidget*)’} to ‘GtkCallback’ {aka ‘void (*)(_GtkWidget*, void*)’} [-Wcast-function-type]
gtk_container_forall(GTK_CONTAINER(menu), (GtkCallback)gtk_widget_destroy,
^~~~~~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:581:86: warning: ‘void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, event->button, event->time);
^
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
void gtk_menu_popup (GtkMenu *menu,
^~~~~~~~~~~~~~
ring-client-gnome/src/video/video_widget.cpp:581:86: warning: ‘void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
gtk_menu_popup(GTK_MENU(menu), NULL, NULL, NULL, NULL, event->button, event->time);
^
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33,
from ring-client-gnome/src/video/video_widget.h:23,
from ring-client-gnome/src/video/video_widget.cpp:20:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
void gtk_menu_popup (GtkMenu *menu,
^~~~~~~~~~~~~~
[ 73%] Building CXX object CMakeFiles/gnome-ring.dir/src/accountcreationwizard.cpp.o
ring-client-gnome/src/accountcreationwizard.cpp: In function ‘void entries_new_account_changed(AccountCreationWizard*)’:
ring-client-gnome/src/accountcreationwizard.cpp:458:18: warning: unused variable ‘display_name’ [-Wunused-variable]
const gchar *display_name = gtk_entry_get_text(GTK_ENTRY(priv->entry_display_name));
^~~~~~~~~~~~
[ 74%] Building CXX object CMakeFiles/gnome-ring.dir/src/accountmigrationview.cpp.o
[ 75%] Building CXX object CMakeFiles/gnome-ring.dir/src/usernameregistrationbox.cpp.o
ring-client-gnome/src/usernameregistrationbox.cpp: In lambda function:
ring-client-gnome/src/usernameregistrationbox.cpp:389:27: warning: enumeration value ‘INVALID’ not handled in switch [-Wswitch]
switch(status)
^
[ 76%] Building CXX object CMakeFiles/gnome-ring.dir/src/models/activeitemproxymodel.cpp.o
[ 77%] Building C object CMakeFiles/gnome-ring.dir/src/video/xrectsel.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
[ 78%] Building C object CMakeFiles/gnome-ring.dir/src/dialogs.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
[ 79%] Building CXX object CMakeFiles/gnome-ring.dir/src/mediasettingsview.cpp.o
ring-client-gnome/src/mediasettingsview.cpp: In function ‘void set_framerate(MediaSettingsView*)’:
ring-client-gnome/src/mediasettingsview.cpp:436:31: warning: comparison of integer expressions of different signedness: ‘lrc::api::video::Framerate’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
if (settings.rate == std::stoi(video_framerate)) return;
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 80%] Building CXX object CMakeFiles/gnome-ring.dir/src/newaccountsettingsview.cpp.o
ring-client-gnome/src/newaccountsettingsview.cpp: In function ‘void show_change_password_dialog(GtkListBox*, GtkListBoxRow*, NewAccountSettingsView*)’:
ring-client-gnome/src/newaccountsettingsview.cpp:848:108: warning: not enough variable arguments to fit a sentinel [-Wformat=]
priv->change_password_dialog = gtk_dialog_new_with_buttons(_("Change password"), parent, flags, nullptr);
^
ring-client-gnome/src/newaccountsettingsview.cpp: In function ‘void draw_codecs(NewAccountSettingsView*, int)’:
ring-client-gnome/src/newaccountsettingsview.cpp:1526:45: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare]
if (codecSelected != -1 && codec.id == codecSelected) {
~~~~~~~~~^~~~~~~~~~~~~~~~
ring-client-gnome/src/newaccountsettingsview.cpp:1565:45: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare]
if (codecSelected != -1 && codec.id == codecSelected) {
~~~~~~~~~^~~~~~~~~~~~~~~~
ring-client-gnome/src/newaccountsettingsview.cpp: In lambda function:
ring-client-gnome/src/newaccountsettingsview.cpp:1728:20: warning: enumeration value ‘INVALID’ not handled in switch [-Wswitch-enum]
switch (status)
^
ring-client-gnome/src/newaccountsettingsview.cpp: In function ‘void new_account_settings_view_update(NewAccountSettingsView*, gboolean)’:
ring-client-gnome/src/newaccountsettingsview.cpp:1995:12: warning: enumeration value ‘ERROR_NEED_MIGRATION’ not handled in switch [-Wswitch-enum]
switch ((*priv->accountInfo_)->status)
^
[ 81%] Building CXX object CMakeFiles/gnome-ring.dir/src/generalsettingsview.cpp.o
...
[ 88%] Building CXX object CMakeFiles/gnome-ring.dir/src/webkitchatcontainer.cpp.o
ring-client-gnome/src/webkitchatcontainer.cpp: In function ‘gboolean webview_chat_decide_policy(WebKitWebView*, WebKitPolicyDecision*, WebKitPolicyDecisionType)’:
ring-client-gnome/src/webkitchatcontainer.cpp:321:67: warning: ‘gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)’ is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations]
gtk_show_uri(NULL, uri, GDK_CURRENT_TIME, NULL);
^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:200,
from ring-client-gnome/src/webkitchatcontainer.h:24,
from ring-client-gnome/src/webkitchatcontainer.cpp:22:
/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here
gboolean gtk_show_uri (GdkScreen *screen,
^~~~~~~~~~~~
ring-client-gnome/src/webkitchatcontainer.cpp:321:67: warning: ‘gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)’ is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations]
gtk_show_uri(NULL, uri, GDK_CURRENT_TIME, NULL);
^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:200,
from ring-client-gnome/src/webkitchatcontainer.h:24,
from ring-client-gnome/src/webkitchatcontainer.cpp:22:
/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here
gboolean gtk_show_uri (GdkScreen *screen,
^~~~~~~~~~~~
[ 89%] Building CXX object CMakeFiles/gnome-ring.dir/src/messagingwidget.cpp.o
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/messagingwidget.h:22,
from ring-client-gnome/src/messagingwidget.cpp:20:
ring-client-gnome/src/messagingwidget.cpp: In function ‘GType messaging_widget_get_type_once()’:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:36:45: warning: ‘GType gtk_vbox_get_type()’ is deprecated [-Wdeprecated-declarations]
#define GTK_TYPE_VBOX (gtk_vbox_get_type ())
^
/usr/include/glib-2.0/gobject/gtype.h:1993:40: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
g_type_register_static_simple (TYPE_PARENT, \
^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1739:60: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1632:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
#define G_DEFINE_TYPE_WITH_PRIVATE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, G_ADD_PRIVATE (TN))
^~~~~~~~~~~~~~~~~~~~~~
ring-client-gnome/src/messagingwidget.cpp:77:1: note: in expansion of macro ‘G_DEFINE_TYPE_WITH_PRIVATE’
G_DEFINE_TYPE_WITH_PRIVATE(MessagingWidget, messaging_widget, GTK_TYPE_VBOX);
^~~~~~~~~~~~~~~~~~~~~~~~~~
ring-client-gnome/src/messagingwidget.cpp:77:63: note: in expansion of macro ‘GTK_TYPE_VBOX’
G_DEFINE_TYPE_WITH_PRIVATE(MessagingWidget, messaging_widget, GTK_TYPE_VBOX);
^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from ring-client-gnome/src/messagingwidget.h:22,
from ring-client-gnome/src/messagingwidget.cpp:20:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:59:13: note: declared here
GType gtk_vbox_get_type (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/messagingwidget.h:22,
from ring-client-gnome/src/messagingwidget.cpp:20:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:36:45: warning: ‘GType gtk_vbox_get_type()’ is deprecated [-Wdeprecated-declarations]
#define GTK_TYPE_VBOX (gtk_vbox_get_type ())
^
/usr/include/glib-2.0/gobject/gtype.h:1993:40: note: in definition of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN_REGISTER’
g_type_register_static_simple (TYPE_PARENT, \
^~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1739:60: note: in expansion of macro ‘_G_DEFINE_TYPE_EXTENDED_BEGIN’
#define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_) _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_TYPE_EXTENDED_END()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/gobject/gtype.h:1632:61: note: in expansion of macro ‘G_DEFINE_TYPE_EXTENDED’
#define G_DEFINE_TYPE_WITH_PRIVATE(TN, t_n, T_P) G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, G_ADD_PRIVATE (TN))
^~~~~~~~~~~~~~~~~~~~~~
ring-client-gnome/src/messagingwidget.cpp:77:1: note: in expansion of macro ‘G_DEFINE_TYPE_WITH_PRIVATE’
G_DEFINE_TYPE_WITH_PRIVATE(MessagingWidget, messaging_widget, GTK_TYPE_VBOX);
^~~~~~~~~~~~~~~~~~~~~~~~~~
ring-client-gnome/src/messagingwidget.cpp:77:63: note: in expansion of macro ‘GTK_TYPE_VBOX’
G_DEFINE_TYPE_WITH_PRIVATE(MessagingWidget, messaging_widget, GTK_TYPE_VBOX);
^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from ring-client-gnome/src/messagingwidget.h:22,
from ring-client-gnome/src/messagingwidget.cpp:20:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:59:13: note: declared here
GType gtk_vbox_get_type (void) G_GNUC_CONST;
^~~~~~~~~~~~~~~~~
ring-client-gnome/src/messagingwidget.cpp: In function ‘void {anonymous}::details::on_leave_widget(MessagingWidget*)’:
ring-client-gnome/src/messagingwidget.cpp:141:10: warning: unused variable ‘priv’ [-Wunused-variable]
auto priv = MESSAGING_WIDGET_GET_PRIVATE(self);
^~~~
ring-client-gnome/src/messagingwidget.cpp: In function ‘void {anonymous}::details::on_record_button_pressed(MessagingWidget*)’:
source/ring-client-gnome/src/messagingwidget.cpp:153:11: warning: enumeration value ‘MESSAGING_WIDGET_REC_SENT’ not handled in switch [-Wswitch-enum]
switch(priv->cpp->state_) {
^
[ 90%] Building CXX object CMakeFiles/gnome-ring.dir/src/chatview.cpp.o
ring-client-gnome/src/chatview.cpp: In function ‘void webkit_chat_container_script_dialog(GtkWidget*, gchar*, ChatView*)’:
ring-client-gnome/src/chatview.cpp:282:78: warning: ‘gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)’ is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations]
if (!gtk_show_uri(nullptr, filename.c_str(), GDK_CURRENT_TIME, &error)) {
^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:200,
from ring-client-gnome/src/chatview.h:26,
from ring-client-gnome/src/chatview.cpp:24:
/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here
gboolean gtk_show_uri (GdkScreen *screen,
^~~~~~~~~~~~
ring-client-gnome/src/chatview.cpp:282:78: warning: ‘gboolean gtk_show_uri(GdkScreen*, const gchar*, guint32, GError**)’ is deprecated: Use 'gtk_show_uri_on_window' instead [-Wdeprecated-declarations]
if (!gtk_show_uri(nullptr, filename.c_str(), GDK_CURRENT_TIME, &error)) {
^
In file included from /usr/include/gtk-3.0/gtk/gtk.h:200,
from ring-client-gnome/src/chatview.h:26,
from ring-client-gnome/src/chatview.cpp:24:
/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here
gboolean gtk_show_uri (GdkScreen *screen,
^~~~~~~~~~~~
[ 91%] Building CXX object CMakeFiles/gnome-ring.dir/src/avatarmanipulation.cpp.o
[ 92%] Building C object CMakeFiles/gnome-ring.dir/src/cc-crop-area.c.o
cc1: warning: command line option ‘-Wno-reorder’ is valid for C++/ObjC++ but not for C
cc1: warning: command line option ‘-Woverloaded-virtual’ is valid for C++/ObjC++ but not for C
ring-client-gnome/src/cc-crop-area.c: In function ‘cc_crop_area_class_init’:
ring-client-gnome/src/cc-crop-area.c:724:9: warning: ‘g_type_class_add_private’ is deprecated [-Wdeprecated-declarations]
g_type_class_add_private (klass, sizeof (CcCropAreaPrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:23,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from ring-client-gnome/src/cc-crop-area.c:28:
/usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
[ 93%] Building CXX object CMakeFiles/gnome-ring.dir/src/conversationsview.cpp.o
ring-client-gnome/src/conversationsview.cpp: In function ‘void refresh_popup_menu(ConversationsView*)’:
ring-client-gnome/src/conversationsview.cpp:372:123: warning: ‘void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
gtk_menu_popup(GTK_MENU(priv->popupMenu_), nullptr, nullptr, nullptr, nullptr, 0, gtk_get_current_event_time());
^
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33,
from ring-client-gnome/src/conversationsview.h:21,
from ring-client-gnome/src/conversationsview.cpp:21:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
void gtk_menu_popup (GtkMenu *menu,
^~~~~~~~~~~~~~
ring-client-gnome/src/conversationsview.cpp:372:123: warning: ‘void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
gtk_menu_popup(GTK_MENU(priv->popupMenu_), nullptr, nullptr, nullptr, nullptr, 0, gtk_get_current_event_time());
^
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33,
from ring-client-gnome/src/conversationsview.h:21,
from ring-client-gnome/src/conversationsview.cpp:21:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
void gtk_menu_popup (GtkMenu *menu,
^~~~~~~~~~~~~~
[ 94%] Building CXX object CMakeFiles/gnome-ring.dir/src/conversationpopupmenu.cpp.o
ring-client-gnome/src/conversationpopupmenu.cpp: In function ‘void update(GtkTreeSelection*, ConversationPopupMenu*)’:
ring-client-gnome/src/conversationpopupmenu.cpp:191:60: warning: cast between incompatible function types from ‘void (*)(GtkWidget*)’ {aka ‘void (*)(_GtkWidget*)’} to ‘GtkCallback’ {aka ‘void (*)(_GtkWidget*, void*)’} [-Wcast-function-type]
gtk_container_forall(GTK_CONTAINER(self), (GtkCallback)gtk_widget_destroy, nullptr);
^~~~~~~~~~~~~~~~~~
ring-client-gnome/src/conversationpopupmenu.cpp: In function ‘gboolean conversation_popup_menu_show(ConversationPopupMenu*, GdkEventButton*)’:
ring-client-gnome/src/conversationpopupmenu.cpp:312:90: warning: ‘void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
gtk_menu_popup(GTK_MENU(self), NULL, NULL, NULL, NULL, event->button, event->time);
^
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33,
from ring-client-gnome/src/conversationpopupmenu.h:22,
from ring-client-gnome/src/conversationpopupmenu.cpp:20:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
void gtk_menu_popup (GtkMenu *menu,
^~~~~~~~~~~~~~
ring-client-gnome/src/conversationpopupmenu.cpp:312:90: warning: ‘void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations]
gtk_menu_popup(GTK_MENU(self), NULL, NULL, NULL, NULL, event->button, event->time);
^
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34,
from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
from /usr/include/gtk-3.0/gtk/gtk.h:33,
from ring-client-gnome/src/conversationpopupmenu.h:22,
from ring-client-gnome/src/conversationpopupmenu.cpp:20:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
void gtk_menu_popup (GtkMenu *menu,
^~~~~~~~~~~~~~
[ 95%] Linking CXX executable gnome-ring