CC libgtkui_a-addr_resolution_dlg.o
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:33,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from about_dlg.c:30:
/usr/include/gtk-3.0/gtk/gtkwidget.h:787:58: error: identifier "and" is a special operator name in C++ [-Werror=c++-compat]
GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_width and gtk_widget_get_preferred_height)
^
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
from /usr/include/gtk-3.0/gtk/gtkdialog.h:33,
from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:31,
from addr_resolution_dlg.c:31:
/usr/include/gtk-3.0/gtk/gtkwidget.h:787:58: error: identifier "and" is a special operator name in C++ [-Werror=c++-compat]
GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_width and gtk_widget_get_preferred_height)
^
about_dlg.c: In function ‘about_wireshark_cb’:
about_dlg.c:580:29: error: ‘GTK_STOCK_OK’ undeclared (first use in this function)
bbox = dlg_button_row_new(GTK_STOCK_OK, NULL);
^
about_dlg.c:580:29: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors
make[2]: *** [libgtkui_a-about_dlg.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from addr_resolution_dlg.c:49:0:
../../ui/gtk/addr_resolution_dlg.h:28:27: error: unknown type name ‘GtkAction’
void addr_resolution_dlg (GtkAction *action, gpointer data);
^
addr_resolution_dlg.c:290:22: error: unknown type name ‘GtkAction’
addr_resolution_dlg (GtkAction *action _U_, gpointer data _U_)
^
addr_resolution_dlg.c:52:19: error: ‘addr_resolution_dlg_w’ defined but not used [-Werror=unused-variable]
static GtkWidget *addr_resolution_dlg_w = NULL;
^
addr_resolution_dlg.c:201:1: error: ‘addres_resolution_to_texbuff’ defined but not used [-Werror=unused-function]
addres_resolution_to_texbuff(GtkTextBuffer *buffer)
^
cc1: all warnings being treated as errors