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 316157 - MinGW compilation: Plugin exports
MinGW compilation: Plugin exports
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal normal
: 0.9.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 316073
 
 
Reported: 2005-09-13 08:49 UTC by Michal Benes
Modified: 2005-10-03 11:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michal Benes 2005-09-13 08:49:26 UTC
In gst/gstconfig.h GST_PLUGIN_EXPORT and GST_EXPORT are defined to 
__declspec(dllexport) extern or 
__declspec(dllimport) extern
This is probably needed only for MSVC and it does not work with GCC.
For MinGW/GCC, the same definitions as for other OSs should be used, ie.
#define GST_PLUGIN_EXPORT
#define GST_EXPORT extern
Comment 1 Michael Smith 2005-09-13 14:50:58 UTC
Ok, changed the ifdef to require WIN32 && !__MINGW32__; committed.