Hallo zusammen,
ich hab folgndes Problem:
ich versuch unter Ubuntu Server 6.06 das streamdev-plugin zu kompillieren. Dabei bekomm ich die folgenden Fehlermeldungen:
./tools/list.h:93: error: declaration of ‘operator+=’ as non-function
./tools/list.h:93: error: expected ‘;’ before ‘<’ token
./tools/list.h:94: error: declaration of ‘operator+=’ as non-function
./tools/list.h:94: error: expected ‘;’ before ‘<’ token
./tools/list.h:96: error: declaration of ‘operator+’ as non-function
./tools/list.h:96: error: expected ‘;’ before ‘<’ token
./tools/list.h:97: error: declaration of ‘operator+’ as non-function
./tools/list.h:97: error: expected ‘;’ before ‘<’ token
./tools/list.h:98: error: declaration of ‘operator+’ as non-function
./tools/list.h:98: error: expected ‘;’ before ‘<’ token
./tools/list.h: In member function ‘int cTBList<T>::Find(const T&)’:
./tools/list.h:108: error: ‘item’ was not declared in this scope
./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’ was not declared in this scope
./tools/list.h:206: error: expected type-specifier
./tools/list.h:206: error: expected `;'
./tools/list.h: In member function ‘typename cTBList<T>::cItem* cTBList<T>::Locate(uint)’:
./tools/list.h:238: error: ‘item’ was not declared in this scope
./tools/list.h: In member function ‘T& cTBList<T>::Prepend()’:
./tools/list.h:274: error: ‘item’ was not declared in this scope
./tools/list.h: In member function ‘T& cTBList<T>::Append()’:
./tools/list.h:288: error: ‘item’ was not declared in this scope
./tools/list.h: In member function ‘bool cTBList<T>::Insert(uint, const T&)’:
./tools/list.h:320: error: ‘nextItem’ was not declared in this scope
./tools/list.h:324: error: ‘prevItem’ was not declared in this scope
./tools/list.h:326: error: ‘item’ was not declared in this scope
./tools/list.h: In member function ‘typename cTBList<T>::cItem* cTBList<T>::Unlink()’:
./tools/list.h:341: error: ‘item’ was not declared in this scope
./tools/list.h: In member function ‘bool cTBList<T>::Remove(const T&)’:
./tools/list.h:373: error: ‘item’ was not declared in this scope
./tools/list.h: In member function ‘bool cTBList<T>::Remove(uint)’:
./tools/list.h:386: error: ‘item’ was not declared in this scope
./tools/list.h: In member function ‘void cTBList<T>::Clear()’:
./tools/list.h:415: error: ‘item’ was not declared in this scope
./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 ‘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
make[1]: *** [streamdev-client.o] Error 1
Der Compiler istr gcc 4.03
root@blue:/usr/src/linux# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Ich vermute, dass es an der Kombination gcc4 und plugin liegt..
Kennt jemand dieses Problem?
Harry