GNOME Bugzilla – Bug 324737
gst-plugins -Werror fails on the arts plugin
Last modified: 2005-12-22 16:56:08 UTC
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde3/include/arts -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/home/federico/devel-2.14/include/gstreamer-0.8 -I/home/federico/devel-2.14/include/glib-2.0 -I/home/federico/devel-2.14/lib/glib-2.0/include -I/home/federico/devel-2.14/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Werror -g -O2 -MT libgstarts_la-gst_artsio_impl.lo -MD -MP -MF .deps/libgstarts_la-gst_artsio_impl.Tpo -c gst_artsio_impl.cc -fPIC -DPIC -o .libs/libgstarts_la-gst_artsio_impl.o cc1plus: warnings being treated as errors /opt/kde3/include/arts/iomanager.h:93: warning: 'class Arts::IONotify' has virtual functions but non-virtual destructor /opt/kde3/include/arts/iomanager.h:112: warning: 'class Arts::TimeNotify' has virtual functions but non-virtual destructor /opt/kde3/include/arts/notification.h:54: warning: 'class Arts::NotificationClient' has virtual functions but non-virtual destructor /opt/kde3/include/arts/startupmanager.h:42: warning: 'class Arts::StartupClass' has virtual functions but non-virtual destructor /opt/kde3/include/arts/factory.h:45: warning: 'class Arts::Factory' has virtual functions but non-virtual destructor /opt/kde3/include/arts/idlfilereg.h:41: warning: 'class Arts::IDLFileReg' has virtual functions but non-virtual destructor /opt/kde3/include/arts/datapacket.h:43: warning: 'class Arts::GenericDataChannel' has virtual functions but non-virtual destructor /opt/kde3/include/arts/asyncstream.h:44: warning: 'class Arts::GenericAsyncStream' has virtual functions but non-virtual destructor /opt/kde3/include/arts/asyncstream.h: In instantiation of 'Arts::AsyncStream<float>': /opt/kde3/include/arts/asyncstream.h:87: instantiated from here /opt/kde3/include/arts/asyncstream.h:63: warning: 'class Arts::AsyncStream<float>' has virtual functions but non-virtual destructor /opt/kde3/include/arts/asyncstream.h:88: warning: 'class Arts::FloatAsyncStream' has virtual functions but non-virtual destructor /opt/kde3/include/arts/asyncstream.h: In instantiation of 'Arts::AsyncStream<Arts::mcopbyte>': /opt/kde3/include/arts/asyncstream.h:94: instantiated from here /opt/kde3/include/arts/asyncstream.h:63: warning: 'class Arts::AsyncStream<Arts::mcopbyte>' has virtual functions but non-virtual destructor /opt/kde3/include/arts/asyncstream.h:95: warning: 'class Arts::ByteAsyncStream' has virtual functions but non-virtual destructor make[4]: *** [libgstarts_la-gst_artsio_impl.lo] Error 1 make[4]: Leaving directory `/home/federico/devel-2.14/cvs/gst-plugins/ext/arts' I just removed -Werror from configure.ac. This is gnome-2.14.modules as of 2005/12/21.
Reassigning gstreamer bug to gstreamer.
Thanks for taking the time to report this bug. This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read http://bugzilla.gnome.org/bug-HOWTO.html and add a more useful description to this bug.
*** This bug has been marked as a duplicate of 324530 ***
alfredoj69: The bug was completely described; Federico said in the summary that compilation failed and then he showed exactly where it failed. Also, try clicking on the light bulb icon next to the reporter's name--you'll note that Federico has reported and closed hundreds of bugs and is a developer for about 7 different modules; it's unlikely his description is going to be inadequate (or, if it is, only the maintainers would know). Another thing you can try is to run some of the text, such as the first warnings in Federico's output, through some queries to see if you can find duplicates. Compiling errors often hit multiple people. Anyway, thanks for helping!
I don't know if the Arts code is broken or not, as my C++ fu is not that great. But if you really want to use -Werror, you should make it so that the build does not break for everyone when using a library that is not under your control. Maybe the gstreamer files that #include Arts headers need to be compiled with an extra -Wno-non-virtual-dtor flag.