ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] new warning :/usr/include/gtk-3.0/gtk/gtkwidget.h:787:58: er

From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Sun, 9 Mar 2014 10:43:53 +0100
On Sat, Mar 8, 2014 at 4:21 PM, Toralf Förster <toralf.foerster@xxxxxx> 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)

Regards,
>
> - --
> MfG/Sincerely
> Toralf Förster
> pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iF4EAREIAAYFAlMbNXAACgkQxOrN3gB26U6NmQD9EkdOfrpbDAygV9G23cTfxe42
> GT3VhlHnEu3K6isIgGoA/0QeG31gCvSO7H2tCoWc2u9NPFYCDfVN6xUWWqGo4THb
> =HL03
> -----END PGP SIGNATURE-----
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe