http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1676
Summary: regression: G_GINT64_MODIFIER used without
Product: Wireshark
Version: 0.99.6
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Major
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: pva@xxxxxxxxxx
Build Information:
This is compilation problem.
--
The following commit:
------------------------------------------------------------------------
r21976 | guy | 2007-05-29 10:16:24 +0400 (Втр, 29 Май 2007) | 2 lines
Print a gint64 the right way.
------------------------------------------------------------------------
$ svn diff -r 21975:21976
Index: wiretap/catapult_dct2000.c
===================================================================
--- wiretap/catapult_dct2000.c (revision 21975)
+++ wiretap/catapult_dct2000.c (revision 21976)
@@ -494,7 +494,8 @@
/* If get here, must have failed */
*err = errno;
*err_info = g_strdup_printf("catapult dct2000: seek_read failed to
read/parse "
- "line at position %lld", (long long)
seek_off);
+ "line at position %" G_GINT64_MODIFIER "d",
+ seek_off);
return FALSE;
}
cause regression: http://bugs.gentoo.org/184529 .
So now compilation with --disable-gtk2 fails:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include
-Werror "-D_U_=__attribute__((unused))" -march=nocona -O -pipe -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wwrite-strings -Wstrict-prototypes
-Wmissing-declarations -Wno-pointer-sign -Wcast-align -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I/usr/local/include -MT
libwiretap_la-catapult_dct2000.lo -MD -MP -MF
.deps/libwiretap_la-catapult_dct2000.Tpo -c catapult_dct2000.c -fPIC -DPIC -o
.libs/libwiretap_la-catapult_dct2000.o
cc1: warnings being treated as errors
catapult_dct2000.c: In function 'catapult_dct2000_seek_read':
catapult_dct2000.c:498: warning: format '%lld' expects type 'long long int',
but argument 2 has type 'gint64'
0.99.5 is not affected by this.
--
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.