GNOME Bugzilla – Bug 325604
Build fails with GCC 4.1
Last modified: 2006-03-24 20:12:29 UTC
Warnings from GCC 4.1 on a fedora rawhide system: cc1: warnings being treated as errors riff-read.c: In function 'gst_riff_read_info': riff-read.c:991: warning: value computed is not used ... cc1: warnings being treated as errors gstasfdemux.c: In function 'gst_asf_demux_send_event': gstasfdemux.c:181: warning: value computed is not used gstasfdemux.c: In function 'gst_asf_demux_commit_taglist': gstasfdemux.c:550: warning: value computed is not used ... cc1: warnings being treated as errors gstaudioconvert.c: In function 'gst_audio_convert_get_buffer': gstaudioconvert.c:633: warning: value computed is not used ... cc1: warnings being treated as errors gstavidemux.c: In function 'gst_avi_demux_send_event': gstavidemux.c:483: warning: value computed is not used ... cc1: warnings being treated as errors gstfreeze.c: In function 'gst_freeze_loop': gstfreeze.c:215: warning: value computed is not used ... cc1: warnings being treated as errors mixer.c: In function 'gst_image_mixer_src_event': mixer.c:731: warning: value computed is not used mixer.c:745: warning: value computed is not used ... cc1: warnings being treated as errors matroska-demux.c: In function 'gst_matroska_demux_handle_seek_event': matroska-demux.c:1131: warning: value computed is not used ... cc1: warnings being treated as errors gstmp1videoparse.c: In function 'gst_mp1videoparse_real_chain': gstmp1videoparse.c:407: warning: value computed is not used ... cc1: warnings being treated as errors gstmpeg2subt.c: In function 'gst_update_still_frame': gstmpeg2subt.c:788: warning: value computed is not used ... cc1: warnings being treated as errors gstmpegdemux.c: In function 'gst_mpeg_demux_send_event': gstmpegdemux.c:328: warning: value computed is not used gstmpegdemux.c:339: warning: value computed is not used gstmpegdemux.c:350: warning: value computed is not used ... gstdvddemux.c: In function 'gst_dvd_demux_send_event': gstdvddemux.c:560: warning: value computed is not used gstdvddemux.c:570: warning: value computed is not used gstdvddemux.c:575: warning: value computed is not used gstdvddemux.c:580: warning: value computed is not used gstdvddemux.c: In function 'gst_dvd_demux_send_subbuffer': gstdvddemux.c:1082: warning: value computed is not used ... cc1: warnings being treated as errors gstmultifilesink.c: In function 'gst_multifilesink_chain': gstmultifilesink.c:558: warning: value computed is not used ... cc1: warnings being treated as errors gstplaybin.c: In function 'gst_play_bin_send_event': gstplaybin.c:933: warning: value computed is not used ... gstplaybasebin.c: In function 'probe_triggered': gstplaybasebin.c:861: warning: value computed is not used ... qtdemux.c: In function 'gst_qtdemux_loop_header': qtdemux.c:833: warning: value computed is not used ... gstsmpte.c: In function 'gst_smpte_loop': gstsmpte.c:401: warning: value computed is not used ... gstmultifdsink.c: In function 'gst_multifdsink_client_queue_buffer': gstmultifdsink.c:862: warning: value computed is not used ... cc1plus: warnings being treated as errors load_ptm.cpp: In member function 'BOOL CSoundFile::ReadPTM(const BYTE*, DWORD)': load_ptm.cpp:123: warning: dereferencing type-punned pointer will break strict-aliasing rules load_ptm.cpp:124: warning: dereferencing type-punned pointer will break strict-aliasing rules load_ptm.cpp:125: warning: dereferencing type-punned pointer will break strict-aliasing rules load_ptm.cpp:126: warning: dereferencing type-punned pointer will break strict-aliasing rules ... cc1plus: warnings being treated as errors /usr/include/kde/arts/iomanager.h:93: warning: 'class Arts::IONotify' has virtual functions but non-virtual destructor /usr/include/kde/arts/iomanager.h:112: warning: 'class Arts::TimeNotify' has virtual functions but non-virtual destructor /usr/include/kde/arts/notification.h:54: warning: 'class Arts::NotificationClient' has virtual functions but non-virtual destructor /usr/include/kde/arts/startupmanager.h:42: warning: 'class Arts::StartupClass' has virtual functions but non-virtual destructor /usr/include/kde/arts/factory.h:45: warning: 'class Arts::Factory' has virtual functions but non-virtual destructor /usr/include/kde/arts/idlfilereg.h:41: warning: 'class Arts::IDLFileReg' has virtual functions but non-virtual destructor /usr/include/kde/arts/datapacket.h:43: warning: 'class Arts::GenericDataChannel' has virtual functions but non-virtual destructor /usr/include/kde/arts/asyncstream.h:44: warning: 'class Arts::GenericAsyncStream' has virtual functions but non-virtual destructor /usr/include/kde/arts/asyncstream.h: In instantiation of 'Arts::AsyncStream<float>': /usr/include/kde/arts/asyncstream.h:87: instantiated from here /usr/include/kde/arts/asyncstream.h:63: warning: 'class Arts::AsyncStream<float>' has virtual functions but non-virtual destructor /usr/include/kde/arts/asyncstream.h:88: warning: 'class Arts::FloatAsyncStream' has virtual functions but non-virtual destructor /usr/include/kde/arts/asyncstream.h: In instantiation of 'Arts::AsyncStream<unsigned char>': /usr/include/kde/arts/asyncstream.h:94: instantiated from here /usr/include/kde/arts/asyncstream.h:63: warning: 'class Arts::AsyncStream<unsigned char>' has virtual functions but non-virtual destructor /usr/include/kde/arts/asyncstream.h:95: warning: 'class Arts::ByteAsyncStream' has virtual functions but non-virtual destructor ... gstfaad.c: In function 'gst_faad_chain': gstfaad.c:813: warning: value computed is not used ... gstflacenc.c: In function 'gst_flacenc_write_callback': gstflacenc.c:475: warning: value computed is not used ... gstdvdec.c: In function 'gst_dvdec_handle_sink_event': gstdvdec.c:690: warning: value computed is not used gstdvdec.c:694: warning: value computed is not used ... gstmad.c: In function 'gst_mad_src_event': gstmad.c:749: warning: value computed is not used gstmad.c:758: warning: value computed is not used ... gstmpeg2dec.c: In function 'handle_slice': gstmpeg2dec.c:759: warning: value computed is not used ... gstoggmux.c: In function 'gst_ogg_mux_get_headers': gstoggmux.c:794: warning: value computed is not used gstoggmux.c: In function 'gst_ogg_mux_send_headers': gstoggmux.c:887: warning: value computed is not used ... gstoggparse.c: In function 'gst_ogg_parse_chain': gstoggparse.c:436: warning: value computed is not used gstoggparse.c:471: warning: value computed is not used gstoggparse.c:487: warning: value computed is not used ... gsttextoverlay.c: In function 'gst_textoverlay_event': gsttextoverlay.c:297: warning: value computed is not used ...
Haven't looked at these -- someone with fedora will have to tackle this. See also bug #325599.
*** This bug has been marked as a duplicate of 325599 ***