Package: exscalibar Version: 1.0.4-5 Tags: patch Virtual templates are apparently not allowed in C++ and GCC 4.2 will treat them as errors.
> Automatic build of exscalibar_1.0.4-5 on swarm by sbuild/mipsel 0.45 ... > g++ -c -pipe -I /build/tbm/exscalibar-1.0.4/exscalibar-1.0.4 > -I/usr/include/alsa -Wall -g -Os -DRELEASE -D_REENTRANT -fPIC -DHAVE_SNDFILE > -DHAVE_VORBISFILE -DHAVE_MAD -DHAVE_FFTW -DHAVE_ALSA -DHAVE_JACK > -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT > -I/usr/share/qt3/mkspecs/default -I. -I../../src/qtextra -I/usr/include/qt3 > -o qsocketsession.o qsocketsession.cpp > qsocketsession.h:284: error: templates may not be 'virtual' > qsocketsession.h:300: error: templates may not be 'virtual' > qsocketsession.cpp: In member function 'void QSocketSession::findByteOrder()': > qsocketsession.cpp:106: warning: dereferencing type-punned pointer will break > strict-aliasing rules > qsocketsession.cpp:107: warning: dereferencing type-punned pointer will break > strict-aliasing rules > make[3]: *** [qsocketsession.o] Error 1 > make[3]: Leaving directory > `/build/tbm/exscalibar-1.0.4/exscalibar-1.0.4/src/qtextra' --- src/qtextra/qsocketsession.h~ 2006-06-03 19:46:22.000000000 +0000 +++ src/qtextra/qsocketsession.h 2006-06-03 19:46:32.000000000 +0000 @@ -281,7 +281,7 @@ * * @sa safeSendWord() */ - template<typename T> const T safeReceiveWord() = 0; + template<typename T> const T safeReceiveWord(); /** * Receive a number of words from the connection. The word type may be one @@ -297,7 +297,7 @@ * * @sa safeSendWordArray() */ - template<typename T> void safeReceiveWordArray(T *t, const uint32_t size) = 0; + template<typename T> void safeReceiveWordArray(T *t, const uint32_t size); /** * Send a string value down the connection. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]