[vdr] compiler error with streamdev plugin

Dominique Dumont domi.dumont at free.fr
Wed Sep 21 21:30:31 CEST 2005



Hello

I'm trying to compile Sascha Volkenandt's streamdev plugin and I have
the following error:

g++ -W -Woverloaded-virtual -O2 -c -D_GNU_SOURCE -DHAVE_AUTOPID -I../../../include -I../../../../DVB/include -I. -o streamdev-client.o streamdev-client.c
./tools/list.h:93: error: declaration of 'operator+=' as non-function
./tools/list.h:93: error: expected ';' before '<' token
./tools/list.h:94: error: declaration of 'operator+=' as non-function
./tools/list.h:94: error: expected ';' before '<' token
./tools/list.h:96: error: declaration of 'operator+' as non-function
./tools/list.h:96: error: expected ';' before '<' token

Here's one of the problematic line:

	friend cTBList<T> &operator+= <> (cTBList<T> &list1, const cTBList<T> &list2);

This kind of declaration involving templates and operator overload
goes way over my puny C++ knowledge.

Can somebody help me in fixing this problem ?

Thanks



More information about the vdr mailing list