[gstreamer-bugs] [Bug 316079] New: MinGW compilation: G_LOCK and G_UNLOCK breaks strict-aliasing

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Sep 12 06:13:43 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

           Summary: MinGW compilation: G_LOCK and G_UNLOCK breaks strict-
                    aliasing
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: michal.benes at xeris.cz
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


I am getting the following warning on G_LOCK:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -fno-common -g
-Wall -Werror -DGST_DISABLE_DEPRECATED -I..
-DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_MAJORMINOR=\"0.9\" -g -O2 -MT
libgstreamer_0.9_la-gstobject.lo -MD -MP -MF
.deps/libgstreamer_0.9_la-gstobject.Tpo -c gstobject.c  -DDLL_EXPORT -DPIC -o
.libs/libgstreamer_0.9_la-gstobject.o
gstobject.c: In function `gst_object_set_name_default':
gstobject.c:594: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gstobject.c:605: warning: dereferencing type-punned pointer will break
strict-aliasing rules

These are "only" warnings but -Werror flag causes the compilation to stop.

A am using glib-2.6.5

------- 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