Wireshark-bugs: [Wireshark-bugs] [Bug 1676] -Werror enabled by default in wiretap - intentionall

Date: Mon, 9 Jul 2007 19:38:57 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1676





------- Comment #2 from guy@xxxxxxxxxxxx  2007-07-09 19:38 GMT -------
    catapult_dct2000.c:498: warning: format '%lld' expects type 'long long
int', but argument 2 has type 'gint64'

Was this compiled on an LP64 platform?  (I.e., does your "PC" have an x86-64
processor?)  "gint64" should be a "long long int" on an ILP32 platform, but
could be a "long int" on an LP64 platform.

The problem is that the configure script is only trying ll, L, and q as
modifiers for 64-bit integral data types, not l, so, while "%lld" would *work*
with a "long int" on most if not all LP64 platforms (it'd fail only on a
platform where "long long int" is, for example, 128 bits), it's not the right
choice.  As the configure script is checking only for errors, it doesn't fail
to find a format for 64-bit integral data types.


-- 
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.