After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 151881 - [PATCH] Fix format strings for amd64 in seek.c
[PATCH] Fix format strings for amd64 in seek.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.8.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-09-05 04:32 UTC by Nathan Robertson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
make explicit long format strings use the GLib constants (3.24 KB, patch)
2004-09-05 04:34 UTC, Nathan Robertson
none Details | Review

Description Nathan Robertson 2004-09-05 04:32:08 UTC
A batch of printf() formats need fixing for amd64. Specifically:

make[3]: Entering directory
`/home/nathanr/download/gnome-cvs/gst-plugins/examples/seeking'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../gst-libs -I../../gst-libs
-pthread -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/home/nathanr/bin/gnome2-cvs/include/glib-2.0
-I/home/nathanr/bin/gnome2-cvs/lib64/glib-2.0/include
-I/home/nathanr/bin/gnome2-cvs/include/libxml2
-I/home/nathanr/bin/gnome2-cvs/include/gstreamer-0.8   -DGST_DISABLE_DEPRECATED
 -Wall -Werror -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/home/nathanr/bin/gnome2-cvs/include/gtk-2.0
-I/home/nathanr/bin/gnome2-cvs/lib64/gtk-2.0/include
-I/home/nathanr/bin/gnome2-cvs/include -I/usr/X11R6/include
-I/home/nathanr/bin/gnome2-cvs/include/atk-1.0
-I/home/nathanr/bin/gnome2-cvs/include/pango-1.0 -I/usr/include/freetype2
-I/home/nathanr/bin/gnome2-cvs/include/glib-2.0
-I/home/nathanr/bin/gnome2-cvs/lib64/glib-2.0/include   -g -O2 -MT seek.o -MD
-MP -MF ".deps/seek.Tpo" -c -o seek.o seek.c; \
then mv -f ".deps/seek.Tpo" ".deps/seek.Po"; else rm -f ".deps/seek.Tpo"; exit 1; fi
seek.c: In function `format_value':
seek.c:584: warning: long long int format, gint64 arg (arg 2)
seek.c:584: warning: long long int format, gint64 arg (arg 3)
seek.c:584: warning: long long int format, gint64 arg (arg 4)
seek.c: In function `query_rates':
seek.c:619: warning: long long int format, gint64 arg (arg 3)
seek.c: In function `query_durations_elems':
seek.c:650: warning: long long int format, gint64 arg (arg 3)
seek.c: In function `query_durations_pads':
seek.c:680: warning: long long int format, gint64 arg (arg 3)
seek.c: In function `query_positions_elems':
seek.c:710: warning: long long int format, gint64 arg (arg 3)
seek.c: In function `query_positions_pads':
seek.c:740: warning: long long int format, gint64 arg (arg 3)
seek.c: In function `update_scale':
seek.c:790: warning: long long unsigned int format, guint64 arg (arg 2)
seek.c: In function `stop_seek':
seek.c:855: warning: long long int format, gint64 arg (arg 2)
seek.c:871: warning: long long int format, gint64 arg (arg 2)
make[3]: *** [seek.o] Error 1
make[3]: Leaving directory
`/home/nathanr/download/gnome-cvs/gst-plugins/examples/seeking'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nathanr/download/gnome-cvs/gst-plugins/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nathanr/download/gnome-cvs/gst-plugins'
make: *** [all] Error 2
*** error during stage build of gst-plugins: could not build module *** [70/91]

I'll attach a patch to fix this as a followup.
Comment 1 Nathan Robertson 2004-09-05 04:34:30 UTC
Created attachment 31285 [details] [review]
make explicit long format strings use the GLib constants
Comment 2 David Schleef 2004-09-10 18:42:44 UTC
Applied, thanks.