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 602610 - MSVC Compatibility in glue/controlsource.c
MSVC Compatibility in glue/controlsource.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
0.9.x
Other Windows
: Normal minor
: 0.9.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-22 00:35 UTC by David Hoyt
Modified: 2009-11-24 13:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for controlsource.c (675 bytes, patch)
2009-11-22 00:36 UTC, David Hoyt
none Details | Review

Description David Hoyt 2009-11-22 00:35:40 UTC
MSVC requires variable declarations before code that uses them. You'll find a patch that includes a fix to enable libgstreamersharpglue to compile with MSVC.
Comment 1 David Hoyt 2009-11-22 00:36:01 UTC
Created attachment 148255 [details] [review]
Fix for controlsource.c
Comment 2 Sebastian Dröge (slomo) 2009-11-24 13:43:25 UTC
Thanks for reporting but that's already fixed in GIT since some time:

commit bd9052c00a0088b04f177ccdb38c0844d1bcfd07
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Sun Sep 20 10:09:43 2009 +0200

    Don't use declarations after statements in C code