On Thursday 09 March 2006 06:46, Martin Michlmayr wrote:
> Package: klibido
> Version: 0.2.4.1-1
> Severity: important
> Tags: patch
>
> Your package fails to build with G++ 4.1. I'm filing this bug as
> important for now, but when 4.1 will be the default compiler in
> unstable (probably in a few weeks) I'll upgrade this to serious.
>
> A patch is below.
>
> > Automatic build of klibido_0.2.4.1-1 on bigsur by sbuild/mips 1.78
>
> ...
>
> > depmode=gcc3 /bin/sh ../admin/depcomp \
> > g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
> > -I/usr/share/qt3/include -I. -I/usr/include/db4 -DQT_THREAD_SUPPORT
> > -D_REENTRANT -I/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
> > -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
> > -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG
> > -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute
> > -fno-exceptions -fno-check-new -fno-common -c -o main.o `test -f
> > 'main.cpp' || echo './'`main.cpp nntpthreadsocket.h:237: error: extra
> > qualification 'NntpThreadSocket::' on member 'm_findEndLine'
> > yydecoder.h:90: error: extra qualification 'yyDecoder::' on member
> > 'charCRC'
>
> --- src/nntpthreadsocket.h~ 2006-03-09 05:41:11.000000000 +0000
> +++ src/nntpthreadsocket.h 2006-03-09 05:41:17.000000000 +0000
> @@ -234,7 +234,7 @@
> bool getHead(QString group, int artnum); //Unimplemented
> int m_getError() {return error;}
> const char *m_getErrorDesc() {return (const char *) errorString;}
> - char * NntpThreadSocket::m_findEndLine( char * start, char *
> end );
> + char * m_findEndLine( char * start, char * end );
> void setHost(NntpHost *nh);
> bool m_sendCmd( QString& cmd, int response );
> QTime prevTime, currentTime;
> --- src/yydecoder.h~ 2006-03-09 05:40:54.000000000 +0000
> +++ src/yydecoder.h 2006-03-09 05:41:01.000000000 +0000
> @@ -87,7 +87,7 @@
>
> private:
>
> - inline void yyDecoder::charCRC(const unsigned char *c);
> + inline void charCRC(const unsigned char *c);
>
> QStringList m_fileParts;
> QStringList::Iterator fileIterator;
Thank you for the report. Actualy i'm waiting for my sponsor to upload klibido
0.2.5. I wish to try g++ 4.1 with it. Where did you download g++4.1, i don't
see it in experimental.
Cheers,
Gonéri