[Bug 774293] msvc: fix some warnings, disable others

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 14 19:06:18 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774293

--- Comment #20 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Tim-Philipp Müller from comment #17)
> With gcc g_once_init_{enter,leave} is just a macro and there's a (gpointer)
> cast which makes the const go away.

Indeed. Too bad there are no casts that preserve the const'ness of the
argument.

Having the pointer passed there const seems like a bug though, the value is not
const but written to by g_once_init_leave().

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list