clucene-core-0.9.21b-1004
Jack Howarth <[email protected]>
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <CAP5Ds0AwJmyb=_=Bv9oFaOzUOh2UM4QE8RtBapik8uj8DLLb0w@mail.gmail.com> |
Jack,
I committed a fix to clucene-core in the 10.7 tree that allows the
package to build on 10.9 against libc++.. The fixes are based on those used
by FreeBSD…
http://www.freebsd.org/cgi/query-pr.cgi?pr=169872&cat=
The make check can't be run yet as the test suite has a variation of this
compiler error in
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../src -I/sw/include
-D_THREAD_SAFE -Os -c -o TestAnalyzers.o `test -f
'../test/analysis/TestAnalyzers.cpp' || echo
'./'`../test/analysis/TestAnalyzers.cpp
In file included from ../test/analysis/TestAnalyzers.cpp:7:
In file included from ./test.h:9:
In file included from ../src/CLucene.h:15:
In file included from ../src/CLucene/index/IndexWriter.h:18:
In file included from ../src/CLucene/store/TransactionalRAMDirectory.h:10:
In file included from ../src/CLucene/store/RAMDirectory.h:17:
../src/CLucene/util/Arrays.h:154:19: warning: comparison of unsigned
expression >= 0 is always true [-Wtautological-compare]
while ( --size >= 0 ){
~~~~~~ ^ ~
../test/analysis/TestAnalyzers.cpp:18:16: error: call to 'wcsstr' is
ambiguous
while( (pos = _tcsstr(pos+1, _T(";"))) != NULL ) {
^~~~~~~
../src/CLucene/config/repl_tchar.h:37:21: note: expanded from macro
'_tcsstr'
#define _tcsstr wcsstr //find location of a string
^~~~~~
/usr/include/wchar.h:141:10: note: candidate function
wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cwchar:189:49:
note: candidate function
inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcsstr(const wchar_t* __s1,
const wchar_t* __s2) {return ::wcsstr(__s1, __s2);}
^
which I haven't puzzled out a fix for yet.
Jack
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel