[gstreamer-bugs] [Bug 393796] 21 of 44 tests failed w/ HP-UX 11.11 & native compiler
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Sat Jan 13 03:45:47 PST 2007
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=393796
GStreamer | gstreamer (core) | Ver: 0.10.11
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEEDINFO
------- Comment #9 from Tim-Philipp Müller 2007-01-13 11:44 UTC -------
> The idiom is as follows:
>
> #pragma INIT "my_init"
> void my_init() { ... do some initializations ... }
>
> (snip)
>
> Any ideas?
You could try (btw, does it matter if it's _Pragma or _pragma?):
1) _pragma ("INIT \"_gst_plugin_static_init__" G_STRINGIFY (init) "\"")
(why are you using "INIT "\"foobar <--- isn't that one " too many/few?)
2) just be less ambitious for now and assume people only use
GST_PLUGIN_DEFINE_STATIC at most once per source file, then
you could just try something like:
#define
GST_PLUGIN_DEFINE_STATIC(major,minor,name,description,init,version,license,package,origin)
\
\
_Pragma ( "INIT \"_gst_plugin_static_init_only_use_once_per_file\"" ) \
\
static void _gst_plugin_static_init_only_use_once_per_file (void) \
{ \
... \
}
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list