Home page logo

wireshark logo Wireshark mailing list archives

Re: new warning :/usr/include/gtk-3.0/gtk/gtkwidget.h:787:58: error: identifier "and" is a special operator name in C++ [-Werror=c++-compat]
From: Bálint Réczey <balint () balintreczey hu>
Date: Sun, 9 Mar 2014 15:43:59 +0100

2014-03-09 10:43 GMT+01:00 Alexis La Goutte <alexis.lagoutte () gmail com>:
On Sat, Mar 8, 2014 at 4:21 PM, Toralf Förster <toralf.foerster () gmx de> wrote:
Hash: SHA256

Switching from gtk-3.8.7 to gtp-3.10.7 I do get with current wireshark git tree at a stable 32 bit Gentoo Linux :

make[2]: Entering directory `/home/tfoerste/devel/wireshark/ui/gtk'
  CC       libgtkui_a-about_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:28:
/usr/include/gtk-3.0/gtk/gtkwidget.h:787:58: error: identifier "and" is a special operator name in C++ 
cc1: all warnings being treated as errors
make[2]: *** [libgtkui_a-about_dlg.o] Error 1


For me, it is a GTK issue, the problem is gtk header (no in Wireshark
source code)

I have already sent a patch to GTK list:

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

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]