Mailing List archive

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

[vdr] Text2Skin with gcc 3.4?



Hello,

just wanted to try the Text2Skin 0.0.1 from
http://www.magoa.net/linux/index.php?view=text2skin but it don't seems
to be gcc 3.4 compliant:

g++ -march=pentium4 -O3 -c -DHAVE_IMAGEMAGICK -D_GNU_SOURCE
-DPLUGIN_NAME_I18N='"text2skin"' -I../../../include
-I/usr/src/CVS/DVB/include bitmap.c
In file included from bitmap.h:9,
                 from bitmap.c:5:
cache.h: In member function `void cText2SkinCache<K,
D>::Update(cText2SkinCache<K, D>::Item*)':
cache.h:76: error: there are no arguments to `time_ms'
that depend on a template parameter, so a declaration
of `time_ms' must be available
cache.h:76: error: (if you use `-fpermissive', G++ will
accept your code, but allowing the use of an undeclared
name is deprecated)
make: *** [bitmap.o] Error 1

Adding a this-> before time_ms at cache.h:75 gives this:

[greg@greg text2skin]$ make all
g++ -march=pentium4 -O3 -c -DHAVE_IMAGEMAGICK -D_GNU_SOURCE
-DPLUGIN_NAME_I18N='"text2skin"' -I../../../include
-I/usr/src/CVS/DVB/include bitmap.c
cache.h: In member function `void cText2SkinCache<K,
D>::Update(cText2SkinCache<K, D>::Item*) [with K = std::string, D =
cText2SkinBitmap*]':
cache.h:121:   instantiated from `D& cText2SkinCache<K,
D>::operator[](const K&) [with K = std::string, D = cText2SkinBitmap*]'
bitmap.c:30:   instantiated from here
cache.h:75: error: 'class cText2SkinCache<std::string,
cText2SkinBitmap*>' has no member named 'time_ms'
make: *** [bitmap.o] Error 1

Has anyone compiled it against gcc 3.4.1 (I have also gcc 2.96 installed
here, but it don't play after the compilation) ?

	Grégoire
__________________________________________________________________________
http://algebra.epfl.ch/greg ICQ:16624071 mailto:Gregoire.Favre@freesurf.ch




Home | Main Index | Thread Index