[Kexi-devel] Bug#357825: FTBFS with G++ 4.1: extra qualification

Martin Michlmayr tbm at cyrius.com
Sun Mar 19 19:42:05 CET 2006


Package: kexi
Version: 1:0.9-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 kexi_1:0.9-2 on bigsur by sbuild/mips 1.106
...
> if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kexi-0.9/./kexi/migration/mysql -I../../.. -I/build/tbm/kexi-0.9/./kexi/migration/mysql/../../.. -I/build/tbm/kexi-0.9/./kexi -I/usr/include/kde -I/usr/share/qt3/include -I.  -I/usr/include/mysql   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions  -include /build/tbm/kexi-0.9/./kexi/kexi_global.h -MT mysqlmigrate.lo -MD -MP -MF ".deps/mysqlmigrate.Tpo" \
> 	  -c -o mysqlmigrate.lo `test -f '/build/tbm/kexi-0.9/./kexi/migration/mysql/mysqlmigrate.cpp' || echo '/build/tbm/kexi-0.9/./kexi/migration/mysql/'`/build/tbm/kexi-0.9/./kexi/migration/mysql/mysqlmigrate.cpp; \
> 	then mv -f ".deps/mysqlmigrate.Tpo" ".deps/mysqlmigrate.Plo"; \
> 	else rm -f ".deps/mysqlmigrate.Tpo"; exit 1; \
> 	fi
> /build/tbm/kexi-0.9/./kexi/migration/mysql/mysqlmigrate.h:63: error: extra qualification 'KexiMigration::MySQLMigrate::' on member 'MySQLMigrate'
> /build/tbm/kexi-0.9/./kexi/migration/mysql/mysqlmigrate.h:72: error: extra qualification 'KexiMigration::MySQLMigrate::' on member 'getConstraints'
> /build/tbm/kexi-0.9/./kexi/migration/mysql/mysqlmigrate.h:73: error: extra qualification 'KexiMigration::MySQLMigrate::' on member 'getOptions'
> /usr/share/qt3/include/private/qucom_p.h:69: warning: 'struct QUBuffer' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:77: warning: 'struct QUType' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:104: warning: 'struct QUType_Null' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:287: warning: 'struct QUType_enum' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:307: warning: 'struct QUType_ptr' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:326: warning: 'struct QUType_iface' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:345: warning: 'struct QUType_idisp' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:364: warning: 'struct QUType_bool' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:383: warning: 'struct QUType_int' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:403: warning: 'struct QUType_double' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:423: warning: 'struct QUType_charstar' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucom_p.h:444: warning: 'struct QUType_QString' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucomextra_p.h:65: warning: 'struct QUType_QVariant' has virtual functions but non-virtual destructor
> /usr/share/qt3/include/private/qucomextra_p.h:87: warning: 'struct QUType_varptr' has virtual functions but non-virtual destructor
> make[5]: *** [mysqlmigrate.lo] Error 1


--- ./kexi/migration/mysql/mysqlmigrate.h~	2006-03-19 18:35:26.000000000 +0000
+++ ./kexi/migration/mysql/mysqlmigrate.h	2006-03-19 18:35:41.000000000 +0000
@@ -60,7 +60,7 @@
 			~MySQLMigrate();
 			//Constructor
 			MySQLMigrate();
-			MySQLMigrate::MySQLMigrate(QObject *parent, const char *name, const QStringList& args = QStringList());
+			MySQLMigrate(QObject *parent, const char *name, const QStringList& args = QStringList());
 			
 			KexiDB::Field::Type type(const QString& table, const MYSQL_FIELD* t);
 			
@@ -69,8 +69,8 @@
 			
 			QStringList examineEnumField(const QString& table,
 			                             const MYSQL_FIELD* fld);
-			void MySQLMigrate::getConstraints(int mysqlConstraints, KexiDB::Field* fld);
-			void MySQLMigrate::getOptions(int flags, KexiDB::Field* fld);
+			void getConstraints(int mysqlConstraints, KexiDB::Field* fld);
+			void getOptions(int flags, KexiDB::Field* fld);
 
 		/*! driver's static version information, it is automatically implemented
 		 in implementation using KEXIDB_DRIVER macro (see driver_p.h) */

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



More information about the Kexi-devel mailing list