GNOME Bugzilla – Bug 690033
mmssrc: fails to compile on windows, error: format '%I64i'
Last modified: 2012-12-11 21:19:58 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);
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.