GNOME Bugzilla – Bug 327356
gst-plugins-ugly fails to build with GCC 4.1
Last modified: 2006-03-21 15:08:26 UTC
cc1: warnings being treated as errors gstmpegparse.c: In function 'gst_mpeg_parse_send_event': gstmpegparse.c:436: warning: value computed is not used
The following fix in core solves the issue. Closing bug. 2006-03-21 Edward Hervey <edward@fluendo.com> * gst/gstbuffer.h: * gst/gstevent.h: * gst/gstmessage.h: gst_[buffer|event|message]_ref() macros are replaced by a static inline functions because gcc-4.1 will about if the return value isn't used. * tests/check/gst/gstevent.c: (event_probe): gst_event_ref now has to be given a GstEvent* , fix check accordingly.