On Sun, 2007-04-01 at 15:32 +0200, Emmanuel Saracco wrote: > Le dimanche 01 avril 2007 à 15:25 +0200, Dragan Noveski a écrit : > > [...] > > > > Arnold > > hi arnold, > > as suggested by another poster here, i am trying building jackmix and > > the gcc/g++ are both v4.1. > > i get following error: > > > > > > nowhiskey@murija2:~/software/nove/jackmix/jackmix-0.3$ scons > > scons: Reading SConscript files ... > > Checking for uic: uic was found as /usr/share/qt4/bin/uic > > Checking for UIC version : fine - Qt User > > Interface Compiler version 4.2.1 > > Checking for moc: moc was found as /usr/share/qt4/bin/moc > > Checking for rcc: rcc was found as /usr/share/qt4/bin/rcc > > Checking for the qt includes : ok /usr/share/qt4/include > > Checking for jack...yes > > scons: done reading SConscript files. > > scons: Building targets ... > > g++ -o backend/jack_backend.o -c -I/usr/share/qt4/include -Wall -Werror > > -g -fpic -O2 -DNDEBUG -DNO_DEBUG -Ibackend -I. -Ibackend -Ilibcore > > backend/jack_backend.cpp > > cc1plus: warnings being treated as errors > > libcore/guiserver_interface.h:14: warning: 'class > > JackMix::GuiServer_Interface' has virtual functions but non-virtual > > destructor > > scons: *** [backend/jack_backend.o] Error 1 > > scons: building terminated because of errors. > > nowhiskey@murija2:~/software/nove/jackmix/jackmix-0.3$ > > > > am i missing something or is it an bug in the code, what do you think? > > As suggested in my last E-Mail, just use v3 instead of v4 :-) Or better, fix the code. The bug is trivial. --ll
diff -ru jackmix-0.3/libcore/guiserver_interface.h jackmix-0.3-edit/libcore/guiserver_interface.h --- jackmix-0.3/libcore/guiserver_interface.h 2007-03-30 18:35:37.000000000 +0200 +++ jackmix-0.3-edit/libcore/guiserver_interface.h 2007-04-01 15:38:54.000000000 +0200 @@ -13,6 +13,9 @@ class GuiServer_Interface { public: + + virtual ~GuiServer_Interface() { } + virtual void message( const QString& title, const QString& text ) const =0; virtual bool messageYesNo( const QString& title, const QString& text ) const =0; virtual bool messageOkCancel( const QString& title, const QString& text ) const =0;
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user