[Xapian-devel] Re: [Xapian-commits]
richard at lemurconsulting.com
Sun Apr 1 13:34:46 BST 2007
Mark Hammond wrote:
> Its looking pretty good! A socklen_t definition got lost, so we need:
> +#ifdef _MSC_VER
> +typedef int socklen_t;
> Added to safewinsock2.h.
> And while we are on the topic :) I believe its unrelated to the recent
> patches, but debug builds with assertions enabled are failing for me with:
> queryparser.cc(163) : error C2451: conditional expression of type
> 'Xapian::Internal::RefCntPtr<T>' is illegal
> No user-defined-conversion operator available that can perform this
> conversion, or the operator cannot be called
> I'm not experienced enough with std smart pointers to know what the correct
> check is.
The error message with GCC is:
error: could not convert
'((Xapian::QueryParser*)this)->Xapian::QueryParser::internal' to 'bool'
which is a little more helpful - I've fixed this error, and another one
which popped up in omdebug.cc. I've got everything working again on
Linux - let us know how you do on windows.
More information about the Xapian-devel