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 324737 - gst-plugins -Werror fails on the arts plugin
gst-plugins -Werror fails on the arts plugin
Status: RESOLVED DUPLICATE of bug 324530
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-21 20:38 UTC by Federico Mena Quintero
Modified: 2005-12-22 16:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Federico Mena Quintero 2005-12-21 20:38:28 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.
Comment 1 James Henstridge 2005-12-22 02:37:43 UTC
Reassigning gstreamer bug to gstreamer.
Comment 2 alfredoj69 2005-12-22 12:55:35 UTC
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.
Comment 3 Tim-Philipp Müller 2005-12-22 13:41:08 UTC

*** This bug has been marked as a duplicate of 324530 ***
Comment 4 Elijah Newren 2005-12-22 15:43:31 UTC
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!
Comment 5 Federico Mena Quintero 2005-12-22 16:56:08 UTC
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.