GNOME Bugzilla – Bug 729515
W32: playback-test fails to build due to warnings
Last modified: 2014-05-04 17:23:25 UTC
make[4]: Entering directory '/src/mingw/gst-plugins-base-1.0-1.3.1-1/bld/tests/examples/playback' CC playback-test.o ../../../../gst-plugins-base-1.3.1/tests/examples/playback/playback-test.c: In function 'realize_cb': ../../../../gst-plugins-base-1.3.1/tests/examples/playback/playback-test.c:2133:18: error: assignment makes integer from pointer without a cast [-Werror] app->embed_xid = GDK_WINDOW_HWND (window); ^ ../../../../gst-plugins-base-1.3.1/tests/examples/playback/playback-test.c:2134:3: error: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'guintptr' [-Werror=format=] g_print ("Window realize: video window HWND = %lu\n", app->embed_xid); ^ cc1.exe: all warnings being treated as errors Makefile:553: recipe for target 'playback-test.o' failed
Created attachment 275818 [details] [review] W32: fix playback-test to compile again
Thanks, pushed: commit 6fd68e0b122b89444cc95e402ffa0ec773a44feb Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Sun May 4 15:57:35 2014 +0000 tests: fix printf format compiler warning in playback test on win32 https://bugzilla.gnome.org/show_bug.cgi?id=729515