[Xapian-devel] Re: [Xapian-commits] 7990:
trunk/xapian-core/trunk/xapian-core/bin/
trunk/xapian-core/tests/harness/
Mark Hammond
mhammond at skippinet.com.au
Sun Apr 1 12:46:29 BST 2007
Olly writes:
> 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:
+#ifdef _MSC_VER
+typedef int socklen_t;
+#endif
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
queryparser.cc(163) : error C2451: conditional expression of type
'Xapian::Internal::RefCntPtr<T>' is illegal
with
[
T=Xapian::QueryParser::Internal
]
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 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
available.
Cheers,
Mark
More information about the Xapian-devel
mailing list