Hallo,
seitdem ich mal auf eine neue Mandrake Distri umgestiegen bin hab ich so meinen Ärger mit gcc-3.4.1. Da das in Zukunft evtl. auch anderen passieren könnte hier mal die Meckermeldungen:
Code
g++ -Wall -Woverloaded-virtual -O2 -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"freecell"' -I../../../include -I../../../../DVB/include -I. -o cards.o cards.c
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:83: 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:83: 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:83: 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:73: 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:86: 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:66: 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:73: 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: *** [cards.o] Fehler 1
Alles anzeigen
irgend eine Idee ?
Danke !