I want to use it with LinVDR (with is based on gcc 2.95), but the old
compiler makes problems:
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -D_GNU_SOURCE -DPLUGIN_NAME_I
18N='"skinsoppalusikka"' -I../../../include -I../../../../DVB/include
skinsoppalusikka.c
In file included from
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_tree.h:56,
from
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/map:31,
from logo.h:12,
from skinsoppalusikka.c:12:
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h:
76: redefinition of `template <class _Tp> void swap(_Tp &, _Tp &)'
../../../include/vdr/tools.h:52: `template <class T> void swap(T &, T &)'
previously declared here
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_algobase.h:
76: redefinition of `void swap(_Tp &, _Tp &)'
../../../include/vdr/tools.h:52: `void swap(T &, T &)' previously defined
here
make[1]: *** [skinsoppalusikka.o] Error 1
Is there a possibility for a fix to compile with gcc 2.95 ?