Wireshark mailing list archives
Re: Compilation failure on Fedora 20 - GTK3 issues
From: Peter Wu <lekensteyn () gmail com>
Date: Fri, 20 Dec 2013 12:54:15 +0100
Hi Kaul, On Friday 20 December 2013 13:20:37 Kaul wrote:
Doesn't happen on a fully updated Fedora 19, just on my Fedora 20: 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)
Workaround: edit the header file and remove "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)
These errors was reported before, see https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9340 Workaround: use GTK2. Regards, Peter ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Compilation failure on Fedora 20 - GTK3 issues Kaul (Dec 20)
- Re: Compilation failure on Fedora 20 - GTK3 issues Peter Wu (Dec 20)
- Re: Compilation failure on Fedora 20 - GTK3 issues Joerg Mayer (Dec 20)
- Re: Compilation failure on Fedora 20 - GTK3 issues Kaul (Dec 20)
- Re: Compilation failure on Fedora 20 - GTK3 issues Bill Meier (Dec 23)