compiler error with streamdev plugin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux