[vdr] Can't compile games-0.6.1 with gcc 4.01

Guy Roussin guy.roussin at teledetection.fr
Wed Jul 20 13:47:01 CEST 2005


Hi,

I upgrade my debian/sid and now i can't compile some
plugins (due to gcc 4.0.1, i suppose ...)

make[2]: Entering directory `/tmp/vdr-1.3.27/PLUGINS/src/games-0.6.1'
.plugin.cpp: In member function 'virtual eOSState GameStart::ProcessKey(eKeys)':plugin.cpp:111: error: invalid lvalue in assignment
make[2]: *** [plugin.o] Erreur 1

Extract of plugin.cpp
(...)
109:eOSState
110:GameStart::ProcessKey(eKeys k) {
111:        if (r) (int)k &= 0x7fff;
112:        if (launcher_key((int)k)) return (osEnd);
113:        return (osContinue);
114:}
(...)

Thanks,

Guy

___________________________________
NOCC, http://www.teledetection.fr





More information about the vdr mailing list