Trying today to compile the vompserver plugin for the first time since upgrading this box to Mandriva 2006 (which uses GCC4) I get this:
make[1]: Entering directory `/dave/DVB/DVB/vdr-1.3.34/PLUGINS/src/vompserver'
g++ -O2 -Wall -Woverloaded-virtual -Werror -c -DPLUGIN_NAME_I18N='"vompserver"' -I../../../include -I../../../../DVB/include -Iremux -Ilibdvbmpeg -o vompserver.o vompserver.c
cc1plus: warnings being treated as errors
thread.h:28: warning: 'class Thread' has virtual functions but non-virtual destructor
make[1]: *** [vompserver.o] Error 1
make[1]: Leaving directory `/dave/DVB/DVB/vdr-1.3.34/PLUGINS/src/vompserver'
make: *** [plugins] Error 2
Is this a GCC4-ism or have I messed up somewhere?
It's a gcc 4 thing. There is even any constructor at all in that file, but it seems it wants one!
You can either wait for sourceforge to update the file or add this into thread.h
virtual ~Thread() {};
under the line
public:
That fixed it. Thanks!