[sword-devel] compile failure

Joachim Ansorg sword-devel@crosswire.org
Fri, 26 Jul 2002 16:37:33 +0200


It works for me with the official ICU 2.1.
With current CVS it works even in BibleTime now!
It's pretty cool!

Joachim

> I just checked out and got the following:
>
> g++ -DUSE_AUTOTOOLS -DUNIX -D_ICU_ -I. -I. -I.. -I../include -g -O0 -Werror
> -c ../src/modules/filters/utf8transliterator.cpp
> -Wp,-MD,.deps/utf8transliterator.TPlo
> cc1plus: warnings being treated as errors
> ../src/modules/filters/utf8transliterator.cpp: In method `void
> UTF8Transliterator::Load(UErrorCode &)':
> ../src/modules/filters/utf8transliterator.cpp:155: warning: cannot pass
> objects of type `icu_2_0::UnicodeString' through `...'
> ../src/modules/filters/utf8transliterator.cpp: In method `void
> UTF8Transliterator::registerTrans(const icu_2_0::UnicodeString &, const
> icu_2_0::UnicodeString &, _UTransDirection, UErrorCode &)':
> ../src/modules/filters/utf8transliterator.cpp:189: warning: cannot pass
> objects of type `const icu_2_0::UnicodeString' through `...'
> ../src/modules/filters/utf8transliterator.cpp: In method `bool
> UTF8Transliterator::checkTrans(const icu_2_0::UnicodeString &, UErrorCode
> &)':
> ../src/modules/filters/utf8transliterator.cpp:207: warning: cannot pass
> objects of type `const icu_2_0::UnicodeString' through `...'
> ../src/modules/filters/utf8transliterator.cpp:222: warning: cannot pass
> objects of type `icu_2_0::UnicodeString' through `...'
> make[2]: *** [utf8transliterator.lo] Error 1
>
> My mistake?
>
> Martin