Mailing List archive

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

[vdr] Compile errors with games-0.6.1/freecell-0.0.2 and g++ 3.4.2



Hello,

I am unable to build the games-0.6.1 and frecell-0.0.2 vdr plugins using the
version 3.4.2 compiler.  Here are the errors:

freecell errors:

In file included from cards.h:9,
                 from cards.c:4:
tools/list.h: In member function `int cTBList<T>::Find(const T&)':
tools/list.h:108: error: `item' undeclared (first use this function)
tools/list.h:108: error: (Each undeclared identifier is reported only once
for each function it appears in.)
tools/list.h: In member function `typename cTBList<T>::cItem*
cTBList<T>::NewItem(cTBList<T>::cItem*, cTBList<T>::cItem*) const':
tools/list.h:206: error: `item' undeclared (first use this function)
tools/list.h:206: error: `class cTBList<T>::cItem' is not a type
tools/list.h: In member function `typename cTBList<T>::cItem*
cTBList<T>::Locate(uint)':
tools/list.h:238: error: `item' undeclared (first use this function)
tools/list.h: In member function `T& cTBList<T>::Prepend()':
tools/list.h:274: error: `item' undeclared (first use this function)
tools/list.h: In member function `T& cTBList<T>::Append()':
tools/list.h:288: error: `item' undeclared (first use this function)
tools/list.h: In member function `bool cTBList<T>::Insert(uint, const T&)':
tools/list.h:320: error: `nextItem' undeclared (first use this function)
tools/list.h:324: error: `prevItem' undeclared (first use this function)
tools/list.h:326: error: `item' undeclared (first use this function)
tools/list.h: In member function `typename cTBList<T>::cItem*
cTBList<T>::Unlink()':
tools/list.h:341: error: `item' undeclared (first use this function)
tools/list.h: In member function `bool cTBList<T>::Remove(const T&)':
tools/list.h:373: error: `item' undeclared (first use this function)
tools/list.h: In member function `bool cTBList<T>::Remove(uint)':
tools/list.h:386: error: `item' undeclared (first use this function)
tools/list.h: In member function `void cTBList<T>::Clear()':
tools/list.h:415: error: `item' undeclared (first use this function)
tools/list.h: At global scope:
tools/list.h: In instantiation of `cTBList<cTBString>':
tools/list.h:535:   instantiated from here
tools/list.h:93: error: template-id `operator+=<>' for `cTBList<cTBString>&
operator+=(cTBList<cTBString>&, const cTBList<cTBString>&)' does not match
any template declaration
tools/list.h:94: error: template-id `operator+=<>' for `cTBList<cTBString>&
operator+=(cTBList<cTBString>&, const cTBString&)' does not match any
template declaration
tools/list.h:96: error: template-id `operator+<>' for `cTBList<cTBString>
operator+(const cTBList<cTBString>&, const cTBList<cTBString>&)' does not
match any template declaration
tools/list.h:97: error: template-id `operator+<>' for `cTBList<cTBString>
operator+(const cTBString&, const cTBList<cTBString>&)' does not match any
template declaration
tools/list.h:98: error: template-id `operator+<>' for `cTBList<cTBString>
operator+(const cTBList<cTBString>&, const cTBString&)' does not match any
template declaration
In file included from cards.c:4:
tools/list.h: In instantiation of `cTBList<cCard*>':
cards.h:54:   instantiated from here
tools/list.h:93: error: template-id `operator+=<>' for `cTBList<cCard*>&
operator+=(cTBList<cCard*>&, const cTBList<cCard*>&)' does not match any
template declaration
tools/list.h:94: error: template-id `operator+=<>' for `cTBList<cCard*>&
operator+=(cTBList<cCard*>&, cCard* const&)' does not match any template
declaration
tools/list.h:96: error: template-id `operator+<>' for `cTBList<cCard*>
operator+(const cTBList<cCard*>&, const cTBList<cCard*>&)' does not match
any template declaration
tools/list.h:97: error: template-id `operator+<>' for `cTBList<cCard*>
operator+(cCard* const&, const cTBList<cCard*>&)' does not match any
template declaration
tools/list.h:98: error: template-id `operator+<>' for `cTBList<cCard*>
operator+(const cTBList<cCard*>&, cCard* const&)' does not match any
template declaration
tools/list.h: In member function `void cTBList<T>::Clear() [with T =
cCard*]':
cards.c:81:   instantiated from here
tools/list.h:415: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:415: note: say `typename  cTBList<T>::cItem' if a type is meant
cards.c:81:   instantiated from here
tools/list.h:421: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:421: note: say `typename  cTBList<T>::cItem' if a type is meant
cards.c:81:   instantiated from here
tools/list.h:425: error: no matching function for call to
`cTBList<cCard*>::DelItem(<unknown type>)'
tools/list.h:223: note: candidates are: void
cTBList<T>::DelItem(cTBList<T>::cItem*) const [with T = cCard*]
tools/list.h: In member function `T& cTBList<T>::Append() [with T =
cTBString]':
tools/list.h:307:   instantiated from `void cTBList<T>::Append(const T&)
[with T = cTBString]'
tools/list.h:535:   instantiated from here
tools/list.h:288: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:288: note: say `typename  cTBList<T>::cItem' if a type is meant
tools/list.h: In member function `T& cTBList<T>::Append() [with T =
cCard*]':
tools/list.h:307:   instantiated from `void cTBList<T>::Append(const T&)
[with T = cCard*]'
cards.c:71:   instantiated from here
tools/list.h:288: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:288: note: say `typename  cTBList<T>::cItem' if a type is meant
tools/list.h: In member function `typename cTBList<T>::cItem*
cTBList<T>::Locate(uint) [with T = cCard*]':
tools/list.h:408:   instantiated from `T cTBList<T>::Take(uint) [with T =
cCard*]'
cards.c:84:   instantiated from here
tools/list.h:238: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:238: note: say `typename  cTBList<T>::cItem' if a type is meant
tools/list.h: In member function `typename cTBList<T>::cItem*
cTBList<T>::NewItem(cTBList<T>::cItem*, cTBList<T>::cItem*) const [with T =
cTBString]':
tools/list.h:288:   instantiated from `T& cTBList<T>::Append() [with T =
cTBString]'
tools/list.h:307:   instantiated from `void cTBList<T>::Append(const T&)
[with T = cTBString]'
tools/list.h:535:   instantiated from here
tools/list.h:206: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:206: note: say `typename  cTBList<T>::cItem' if a type is meant
tools/list.h: In member function `typename cTBList<T>::cItem*
cTBList<T>::Unlink() [with T = cCard*]':
tools/list.h:398:   instantiated from `T cTBList<T>::Take() [with T =
cCard*]'
tools/list.h:66:   instantiated from `T cTBList<T>::TakeFirst() [with T =
cCard*]'
cards.c:64:   instantiated from here
tools/list.h:341: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:341: note: say `typename  cTBList<T>::cItem' if a type is meant
tools/list.h: In member function `typename cTBList<T>::cItem*
cTBList<T>::NewItem(cTBList<T>::cItem*, cTBList<T>::cItem*) const [with T =
cCard*]':
tools/list.h:288:   instantiated from `T& cTBList<T>::Append() [with T =
cCard*]'
tools/list.h:307:   instantiated from `void cTBList<T>::Append(const T&)
[with T = cCard*]'
cards.c:71:   instantiated from here
tools/list.h:206: error: dependent-name ` cTBList<T>::cItem' is parsed as a
non-type, but instantiation yields a type
tools/list.h:206: note: say `typename  cTBList<T>::cItem' if a type is meant
make[1]: *** [cards.o] Error 1

games-plugin errors:

make[2]: Entering directory
`/usr/local/src/vdr/vdr-1.3.12-mod-eepg-t2-ac3/PLUGINS/src/games-0.6.1'
......plugin.cpp: In member function `virtual eOSState
GameStart::ProcessKey(eKeys)':
plugin.cpp:111: error: ISO C++ forbids cast to non-reference type used as
lvalue
make[2]: *** [plugin.o] Error 1
make[2]: Leaving directory
`/usr/local/src/vdr/vdr-1.3.12-mod-eepg-t2-ac3/PLUGINS/src/games-0.6.1'
make[1]: *** [all] Error 2





Home | Main Index | Thread Index