GNOME Bugzilla – Bug 119105
[0.6.3/patch] gst-plugins build fails due to warnings and -Werror
Last modified: 2004-12-22 21:47:04 UTC
Building gst-plugins fails with the following messages: gstavidemux.c: In function `gst_avi_demux_avih': gstavidemux.c:271: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c: In function `gst_avi_demux_strh': gstavidemux.c:317: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c: In function `gst_avi_demux_dmlh': gstavidemux.c:385: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c: In function `gst_avi_demux_strn': gstavidemux.c:395: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c: In function `gst_avi_demux_strf_vids': gstavidemux.c:412: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c: In function `gst_avi_demux_strf_auds': gstavidemux.c:512: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c: In function `gst_avi_demux_strf_iavs': gstavidemux.c:615: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c: In function `gst_avi_demux_loop': gstavidemux.c:1239: warning: dereferencing type-punned pointer will break strict-aliasing rules gstavidemux.c:1255: warning: dereferencing type-punned pointer will break strict-aliasing rules make[3]: *** [libgstavidemux_la-gstavidemux.lo] Error 1 make[3]: Leaving directory `/home/daf/cvs/gst-plugins/gst/avi' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/daf/cvs/gst-plugins/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/daf/cvs/gst-plugins' make: *** [all] Error 2
Is this compiled by GARNOME? If so, garnome needs to be fixed to call make as 'make CFLAGS=-Wno-error'. (Please file another bug if appropriate.) If it's not garnome, well, you can do the same. =) This bug will probably be fixed before the next release, but it's relatively minor, since the -Werror flag isn't used in the release tarball.
It compiled fine after -Werror was removed. I was building it with jhbuild. I don't think this applies to GARNOME, since it build released versions.
I meant jhbuild. :)
*** Bug 118644 has been marked as a duplicate of this bug. ***
Created attachment 19070 [details] [review] patch for gst-plugins
Could I get someone to review this patch? Preferably two people, since some of the fixes are non-subtle. Many changes are backported from HEAD.
Created attachment 19071 [details] [review] patch for gstreamer
Dave, these are your plugindir fixes, not some possible compile fixes. ;).
Heh. Right file, wrong computer.
Created attachment 19085 [details] [review] patch for gstreamer
Created attachment 19086 [details] [review] patch for gst-plugins
*** Bug 119712 has been marked as a duplicate of this bug. ***
Created attachment 19529 [details] [review] patch for cothreads