[Xapian-devel] Re: [Xapian-commits] 7990:
mhammond at skippinet.com.au
Sun Apr 1 12:46:29 BST 2007
> And after some fettling it now builds under mingw too, though I'm
> cross-compiling so haven't tried running the testsuite yet. Hopefully
> it still works with MSVC...
Its looking pretty good! A socklen_t definition got lost, so we need:
+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
> The only real problem so far is that libtool can't see a DLL for
> -lws2_32 so decides to statically link everything! Is
> winsock actually
> a DLL or a static library?
Its a DLL for me. I've a 41k .lib file in the compiler/sdk 'lib' dir and a
83k dll in system32. I'm surprised a static version of that library is
More information about the Xapian-devel