summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4808886)
GCC emits an error for this with -Werror:
plugin.c:22:1: error: 'gst_plugin_desc' initialized and declared 'extern' [-Werror]
This matches how glib does symbol exporting.
https://bugzilla.gnome.org/show_bug.cgi?id=767463
* for the symbol inside a DLL
*/
#if defined(_WIN32) && !defined(GST_STATIC_COMPILATION)
* for the symbol inside a DLL
*/
#if defined(_WIN32) && !defined(GST_STATIC_COMPILATION)
-# define GST_PLUGIN_EXPORT __declspec(dllexport) extern
+# define GST_PLUGIN_EXPORT __declspec(dllexport)
-# define GST_EXPORT __declspec(dllexport) extern
+# define GST_EXPORT __declspec(dllexport)
# else
# define GST_EXPORT __declspec(dllimport) extern
# endif
# else
# define GST_EXPORT __declspec(dllimport) extern
# endif