Hi all,

I ported the GermanAnalyzer von JLucene, because we had a need for it.
I almost completed it, but regarding this I have two questions:

(1) When linking the contribs-lib, I get linking errors, that some
references could not be found. The reason is that the classes of the
methods have the CLUCENE_INLINE_EXPORT macro (I link the
core/shared-dlls). But due to SharedHeader.h (160-169):

//inline definitions
#if defined(__MINGW32__) || defined(_MSC_VER)
 #define CLUCENE_SHARED_INLINE_EXPORT
 #define CLUCENE_INLINE_EXPORT
 #define CLUCENE_CONTRIBS_INLINE_EXPORT
#else
 #define CLUCENE_SHARED_INLINE_EXPORT CLUCENE_SHARED_EXPORT
 #define CLUCENE_INLINE_EXPORT CLUCENE_EXPORT
 #define CLUCENE_CONTRIBS_INLINE_EXPORT CLUCENE_CONTRIBS_EXPORT
#endif

this macro is empty. It would be nice, if someone can explain me the
purpose of INLINE macros. See also [1].

(2) I also want to port the test of the GermanAnalyzer. Where should
this test be placed? In a separate test project or is it better to
include this test somehow in cl_test?

Regards,

Veit

[1] http://article.gmane.org/gmane.comp.jakarta.lucene.clucene.devel/3541

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to