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 729515 - W32: playback-test fails to build due to warnings
W32: playback-test fails to build due to warnings
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other All
: Normal minor
: 1.3.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-04 16:09 UTC by LRN
Modified: 2014-05-04 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
W32: fix playback-test to compile again (1.30 KB, patch)
2014-05-04 16:09 UTC, LRN
committed Details | Review

Description LRN 2014-05-04 16:09:10 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
Comment 1 LRN 2014-05-04 16:09:13 UTC
Created attachment 275818 [details] [review]
W32: fix playback-test to compile again
Comment 2 Tim-Philipp Müller 2014-05-04 17:23:17 UTC
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