[KPhotoAlbum] compiler issue in SQLDB/QueryHelper.h
Christoph Moseler
forums at moseler.net
Tue Aug 29 19:51:14 BST 2006
Hi,
since a few days I'm getting a compiler error in SQLDB/QueryHelper.h,
output attached below.
If I change
QValueList<QString[2]>
QueryHelper::memberGroupConfiguration(const QString& category) const;
to
QValueList<QString[2]> memberGroupConfiguration(const QString& category)
const;
everything is working fine. I'm using
g++ (GCC) 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)
Is that my mistake or what's going wrong here?
Thanks,
Christoph
make[3]: Entering directory
`/home/chris/build/kimdaba/kphotoalbum-2.2.1/debug/kphotoalbum/SQLDB'
if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I.
-I/home/chris/build/kimdaba/kphotoalbum-2.2.1/kphotoalbum/SQLDB -I../..
-I/home/chris/build/kimdaba/kphotoalbum-2.2.1/kphotoalbum/SQLDB/../kexi
-I/home/chris/build/kimdaba/kphotoalbum-2.2.1/kphotoalbum/SQLDB/..
-I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT
-D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -fno-builtin -g3 -fno-inline -O0 -g3 -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 -fexceptions -MT
Database.lo -MD -MP -MF ".deps/Database.Tpo" -c -o Database.lo
/home/chris/build/kimdaba/kphotoalbum-2.2.1/kphotoalbum/SQLDB/Database.cpp;
\
then mv -f ".deps/Database.Tpo" ".deps/Database.Plo"; else rm
-f ".deps/Database.Tpo"; exit 1; fi
/home/chris/build/kimdaba/kphotoalbum-2.2.1/kphotoalbum/SQLDB/QueryHelper.h:113:
error: extra qualification 'SQLDB::QueryHelper::' on member
'memberGroupConfiguration'
/home/chris/build/kimdaba/kphotoalbum-2.2.1/kphotoalbum/SQLDB/Database.cpp:107:
warning: unused parameter 'oldName'
/home/chris/build/kimdaba/kphotoalbum-2.2.1/kphotoalbum/SQLDB/Database.cpp:107:
warning: unused parameter 'newName'
make[3]: *** [Database.lo] Error 1
make[3]: Leaving directory
`/home/chris/build/kimdaba/kphotoalbum-2.2.1/debug/kphotoalbum/SQLDB'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/chris/build/kimdaba/kphotoalbum-2.2.1/debug/kphotoalbum'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/chris/build/kimdaba/kphotoalbum-2.2.1/debug'
make: *** [all] Error 2
More information about the Kphotoalbum
mailing list