Bug#894159: transition: icu
On Wed, May 02, 2018 at 08:06:57PM +0200, Rene Engelhard wrote:
> Yes, that's why various LibreOffice/Document Liberation libraries
> (and LO also patched firebird) - parts of this reverted since
> c++11-using projects apparently don't need it) did add a
> -DUCHAR_TYPE=uint16_t to their defines. Explicitely backported in
> various debian/rules of those libs
Sorry, sent to early. From LOs configure.ac:
if test "$ICU_MAJOR" -ge "59"; then
# As of ICU 59 it defaults to typedef char16_t UChar; which is available
# with -std=c++11 but not all external libraries can be built with that,
# for those use a bit-compatible typedef uint16_t UChar; see
# icu/source/common/unicode/umachine.h
ICU_UCHAR_TYPE="-DUCHAR_TYPE=uint16_t"
else
ICU_UCHAR_TYPE=""
fi
Regards,
Rene
Reply to: