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

Bug#356893: FTBFS with G++ 4.1: extra qualification



Package: kdenetwork
Version: 4:3.5.1-2
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 kdenetwork_4:3.5.1-2 on bigsur by sbuild/mips 1.94
...
>  g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kdenetwork-3.5.1/./kopete/protocols/meanwhile -I../../.. -I/build/tbm/kdenetwork-3.5.1/./kopete/libkopete -I../../../kopete/libkopete -I/build/tbm/kdenetwork-3.5.1/./kopete/libkopete/avdevice -I/build/tbm/kdenetwork-3.5.1/./kopete/libkopete/ui -I../../../kopete/libkopete/ui -I/build/tbm/kdenetwork-3.5.1/./kopete/protocols/meanwhile/ui -I./ui -I/usr/include/kde -I/usr/share/qt3/include -I. -I/usr/include/meanwhile -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kopete_meanwhile_la.all_cpp.lo -MD -MP -MF .deps/kopete_meanwhile_la.all_cpp.Tpo -c kopete_meanwhile_la.all_cpp.cpp  -fPIC -DPIC -o .libs/kopete_meanwhile_la.all_cpp.o
> /build/tbm/kdenetwork-3.5.1/./kopete/protocols/meanwhile/meanwhilesession.h:187: error: extra qualification 'MeanwhileSession::' on member 'createConversationData'
> /build/tbm/kdenetwork-3.5.1/./kopete/protocols/meanwhile/meanwhileplugin.cpp:35: warning: unused parameter 'menu'
> make[6]: *** [kopete_meanwhile_la.all_cpp.lo] Error 1


--- kdenetwork-3.5.1/kopete/protocols/meanwhile/meanwhilesession.h~	2006-03-14 15:48:24.000000000 +0000
+++ kdenetwork-3.5.1/kopete/protocols/meanwhile/meanwhilesession.h	2006-03-14 15:48:35.000000000 +0000
@@ -182,7 +182,7 @@
      *                    conversation
      * @return The created conversation data struct
      */
-    struct ConversationData *MeanwhileSession::createConversationData(
+    struct ConversationData *createConversationData(
             struct mwConversation *conv, MeanwhileContact *contact,
             bool createQueue = false);
 

-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: