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: Wed, 26 Mar 2014 17:49:02 -0100

2014-03-09 15:43 GMT+01:00 Bálint Réczey <balint () balintreczey hu>:
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:
-----BEGIN PGP SIGNED MESSAGE-----
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++ 
[-Werror=c++-compat]
cc1: all warnings being treated as errors
make[2]: *** [libgtkui_a-about_dlg.o] Error 1

Hi,

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

I have already sent a patch to GTK list:
https://mail.gnome.org/archives/gtk-list/2014-March/msg00019.html

Cheers,
Balint
The fix is included in GTK+ 3.12.

Cheers,
Balint
___________________________________________________________________________
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 ]