Hello,

I reported this problem a couple of weeks ago, but haven't gotten around to
writing a full bug report yet (you can blame the water pump on my car, and the
18 hours it took for me to fix it!  :)

Building out of svn with tests enabled, with ICU enabled causes a build
failure related to streaming a combination of Unicode and standard strings to
std::cout.  There are more offenders, but listed below is enough to give you
the general idea.  Commenting out the offending lines allows the build to
proceed normally.  The signature appeared to (at least fairly closely) match
the one in unicode/ustream.h.  Any ideas?

In Christ,
Scott

g++ -O3 -DUSELUCENE -g -O2 -o .libs/tlitmgrtest tlitmgrtest.o 
../lib/.libs/libsword.so -lz /usr/local/lib/libclucene.so
tlitmgrtest.o: In function `checkTrans(icu_3_4::UnicodeString const&,
UErrorCode&)':
/usr/local/src/sword-dev/tests/tlitmgrtest.cpp:334: undefined reference to
`icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&,
icu_3_4::UnicodeString const&)'
/usr/local/src/sword-dev/tests/tlitmgrtest.cpp:349: undefined reference to
`icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&,
icu_3_4::UnicodeString const&)'
/usr/local/src/sword-dev/tests/tlitmgrtest.cpp:376: undefined reference to
`icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&,
icu_3_4::UnicodeString const&)'
tlitmgrtest.o: In function `instantiateTrans(icu_3_4::UnicodeString const&,
icu_3_4::UnicodeString const&, UTransDirection, UParseError&, UErrorCode&)':
/usr/local/src/sword-dev/tests/tlitmgrtest.cpp:424: undefined reference to
`icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&,
icu_3_4::UnicodeString const&)'
/usr/local/src/sword-dev/tests/tlitmgrtest.cpp:424: undefined reference to
`icu_3_4::operator<<(std::basic_ostream<char, std::char_traits<char> >&,
icu_3_4::UnicodeString const&)'


_______________________________________________
sword-devel mailing list: [email protected]
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to