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 675525 - Fix compiler warnings on mingw-w64
Fix compiler warnings on mingw-w64
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal minor
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-05-05 19:18 UTC by Raimo Järvi
Modified: 2012-05-09 07:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix compiler warnings on mingw-w64 (2.63 KB, patch)
2012-05-05 19:21 UTC, Raimo Järvi
committed Details | Review

Description Raimo Järvi 2012-05-05 19:18:20 UTC
Warnings on mingw-w64:

gstpoll.c:75:0: error: "EINPROGRESS" redefined
/usr/x86_64-w64-mingw32/sys-root/mingw/include/errno.h:158:0: note: this is the location of the previous definition

gstsystemclock.c:55:0: error: "EWOULDBLOCK" redefined
/usr/x86_64-w64-mingw32/sys-root/mingw/include/errno.h:166:0: note: this is the location of the previous definition

gstfilesrc.c:50:0: error: "stat" redefined
/usr/x86_64-w64-mingw32/sys-root/mingw/include/sys/stat.h:258:0: note: this is the location of the previous definition

And in tests/check:

gst/gstpoll.c:29:0: error: "EINPROGRESS" redefined

elements/filesrc.c:408:1: error: ‘check_uri_for_uri’ defined but not used
elements/filesrc.c:436:1: error: ‘check_uri_for_location’ defined but not used

EINPROGRESS is not used anywhere in gstreamer code, so I assume it can be safely removed.
Comment 1 Raimo Järvi 2012-05-05 19:21:11 UTC
Created attachment 213516 [details] [review]
Fix compiler warnings on mingw-w64
Comment 2 Sebastian Dröge (slomo) 2012-05-09 07:40:25 UTC
commit 63234a9dab0e92642666de278cd61a87ca40f394
Author: Raimo Järvi <raimo.jarvi@gmail.com>
Date:   Sat May 5 22:17:43 2012 +0300

    gst: Fix compiler warnings on mingw-w64
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675525