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 690033 - mmssrc: fails to compile on windows, error: format '%I64i'
mmssrc: fails to compile on windows, error: format '%I64i'
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Windows
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-12-11 08:55 UTC by Michael Esemplare
Modified: 2012-12-11 21:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Esemplare 2012-12-11 08:55:49 UTC
libmms version: 0.6.2
Compiling with: i686-w64-mingw32-gcc (GCC) 4.6.3

Error Output:

make -C libmms
make[3]: Entering directory `/var/lib/jenkins/jobs/gst-plugins-bad/workspace/host_target/win32/ext/libmms'
  CC     libgstmms_la-gstmms.lo
gstmms.c: In function 'gst_mms_create':
gstmms.c:342:3: error: format '%I64i' expects argument of type 'long long int', but argument 8 has type 'off_t' [-Werror=format]
cc1: all warnings being treated as errors
make[3]: *** [libgstmms_la-gstmms.lo] Error 1

The line of code at fault:
GST_LOG_OBJECT (mmssrc, "Returning buffer with offset %" G_GINT64_FORMAT
      " and size %u", offset, result);
Comment 1 Sebastian Dröge (slomo) 2012-12-11 11:00:36 UTC
commit 0b3cce4890a068928674f0a5b1a539968bd47952
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Tue Dec 11 10:58:54 2012 +0000

    mms: Fix format string for off_t/goffset
    
    Fixes bug #690033.