GNOME Bugzilla – Bug 120960
Failed to compile gstreamer 0.6.3 with gcc 3.3.1
Last modified: 2004-12-22 21:47:04 UTC
Hi, I can not compile gstreamer 0.6.3 with gcc 3.3.1. The error messages are: gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -Wall -Werror -DGST_DISABLE_DEPRECATED -g -I../libs -I../include -DG_LOG_DOMAIN=g_log_domain_gstreamer -DGST_CACHE_DIR=\"/var/cache/gstreamer-0.6\" -O2 -g -march=i586 -MT libgstreamer_0.6_la-gstplugin.lo -MD -MP -MF .deps/libgstreamer_0.6_la-gstplugin.Tpo -c gstplugin.c -fPIC -DPIC -o .libs/libgstreamer_0.6_la-gstplugin.lo gstplugin.c: In function `gst_plugin_load_plugin': gstplugin.c:183: warning: dereferencing type-punned pointer will break strict-aliasing rules The attached patch fixes this problem.
Created attachment 19596 [details] [review] A patch to fix the compilation problem.
*** Bug 120805 has been marked as a duplicate of this bug. ***
This is fixed in 0.6.x CVS, both the -Werror slipping into the release and also the type punning.
*** Bug 121105 has been marked as a duplicate of this bug. ***
*** Bug 121773 has been marked as a duplicate of this bug. ***
*** Bug 122238 has been marked as a duplicate of this bug. ***