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

Wireshark-bugs: [Wireshark-bugs] [Bug 1676] G_GINT64_MODIFIER not set to "l" on LP64 platforms

Date: Tue, 7 Aug 2007 16:42:42 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1676


guy@xxxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #13 from guy@xxxxxxxxxxxx  2007-08-07 16:42 GMT -------
That problem isn't the one described by the bug's title, and should've been
filed as a separate bug by pva@xxxxxxxxxx.

That bug is, apparently, due to a bad __asm__ in GLib 1.2.x:

    http://osdir.com/ml/gnome.gtk+.general/2002-11/msg00158.html

"> Hello!
> 
> If you ever release glib 1.2.11, it would be a shame
> if this warning is 
> still not fixed.  glib.h uses "__asm__ __const__",
> which makes no sense, 
> and gcc 3.2 (and some older versions) complains
> whenever those macros are 
> used.  The warnings in displayed by default, without
> any "-W" options.
> 
> Example from GNU Midnight Commander
> (GUINT16_SWAP_LE_BE is used):
> 
> cpio.c: In function `cpio_read_bin_head':
> cpio.c:260: warning: const qualifier ignored on asm
> 
> This is already fixed in glib 2.0.  The attached
> patch removes __const__
> and realigns backslashes."

So it's ultimately a GLib 1.2[.x] bug.  Please file a separate bug on that; we
can't fix it, as it's not in our code, but we might work around it by turning
off -Werror in the Wiretap library for GLib 1.2[.x] builds.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.