[gstreamer-bugs] [Bug 316079] MinGW compilation: G_LOCK and G_UNLOCK break strict-aliasing
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Tue Sep 13 08:46:01 PDT 2005
Do not reply to this email. You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=316079
GStreamer | gstreamer (core) | Ver: HEAD CVS
------- Additional Comments From Michal Benes 2005-09-13 15:46 -------
OK, G_LOCK (object_name_mutex);
expands to
((g_threads_got_initialized) ? (*g_thread_functions_for_glib_use . mutex_lock)
((((*((gpointer*)&g__object_name_mutex_lock)) ? *(&g__object_name_mutex_lock) :
g_static_mutex_get_mutex_impl (&g__object_name_mutex_lock)))) : ((void)0));
I have also found that this "type-punned pointer" apears only with -O2 (or
greater). My GCC version is
gcc version 3.4.4 (mingw special)
You are right, it is probably a GLib bug, I will report this to their bugzilla.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list