After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 119105 - [0.6.3/patch] gst-plugins build fails due to warnings and -Werror
[0.6.3/patch] gst-plugins build fails due to warnings and -Werror
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.6.x
Other Linux
: Normal normal
: 0.6.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 118644 119712 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-08-04 17:05 UTC by Dafydd Harries
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
patch for gst-plugins (3.34 KB, patch)
2003-08-10 01:12 UTC, David Schleef
none Details | Review
patch for gstreamer (3.34 KB, patch)
2003-08-10 01:21 UTC, David Schleef
none Details | Review
patch for gstreamer (1.60 KB, patch)
2003-08-10 19:13 UTC, David Schleef
none Details | Review
patch for gst-plugins (22.77 KB, patch)
2003-08-10 19:24 UTC, David Schleef
none Details | Review
patch for cothreads (3.39 KB, patch)
2003-08-26 22:00 UTC, David Schleef
none Details | Review

Description Dafydd Harries 2003-08-04 17:05:35 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
Comment 1 David Schleef 2003-08-05 06:14:34 UTC
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.
Comment 2 Dafydd Harries 2003-08-05 08:44:31 UTC
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.
Comment 3 David Schleef 2003-08-06 00:59:54 UTC
I meant jhbuild. :)
Comment 4 David Schleef 2003-08-06 01:00:56 UTC
*** Bug 118644 has been marked as a duplicate of this bug. ***
Comment 5 David Schleef 2003-08-10 01:12:24 UTC
Created attachment 19070 [details] [review]
patch for gst-plugins
Comment 6 David Schleef 2003-08-10 01:16:29 UTC
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.
Comment 7 David Schleef 2003-08-10 01:21:13 UTC
Created attachment 19071 [details] [review]
patch for gstreamer
Comment 8 Ronald Bultje 2003-08-10 08:23:05 UTC
Dave, these are your plugindir fixes, not some possible compile fixes. ;).
Comment 9 David Schleef 2003-08-10 19:12:52 UTC
Heh.  Right file, wrong computer.
Comment 10 David Schleef 2003-08-10 19:13:37 UTC
Created attachment 19085 [details] [review]
patch for gstreamer
Comment 11 David Schleef 2003-08-10 19:24:14 UTC
Created attachment 19086 [details] [review]
patch for gst-plugins
Comment 12 David Schleef 2003-08-12 18:02:52 UTC
*** Bug 119712 has been marked as a duplicate of this bug. ***
Comment 13 David Schleef 2003-08-26 22:00:08 UTC
Created attachment 19529 [details] [review]
patch for cothreads