CVS compile error - further info
Harald Fernengel
harry at kdevelop.org
Sat Jun 28 15:14:10 BST 2003
Hi,
On Friday 27 June 2003 09:36, you wrote:
> Anyway, the following call
>
> if ((ret = dbp->open(
> dbp BDB_OPEN_HACK, QFile::encodeName( indexName ).data(), 0, DB_BTREE,
> DB_CREATE, 0664)) != 0)
>
> causes the problem because QFile::encodeName().data() returns a char* and
> the open() function of the data base object (BerkeleyDB) requires
>
> int (*open) __P((DB *, DB_TXN *, const char *, const char *,
> DBTYPE, u_int32_t, int));
>
> (defined in line 1187 in db.h)
>
> the DB_TXN*, where the compiler starts to complain.
check what BDB_OPEN_HACK is, in your case, it should be defined to ",0", so
the signature should be okay. Maybe the configure check fails here.
Replace BDB_OPEN_HACK manually with ",0", does that work?
Best regards,
Harald
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list