Hi,

On Thursday, 2019-06-27 16:30:29 +0200, Stephan Bergmann wrote:

> ...though one wonders where the "using namespace icu;" using directive or
> "using icu::Locale;" using declaration is, but maybe there is such in the
> system's /usr/include/unicode/ ICU include files.

Original reporter stated in a (personal only not on the mailing list)
reply listing configure and s/he's compiling agains ICU 64.2 which we so
far didn't, but.. stating from my reply there

| Anyhow, I don't see anything odd except that you use ICU 64.2 which we
| so far build with, but unless they did something really stupid that
| shouldn't cause this, or you have -DU_USING_ICU_NAMESPACE=1 somewhere in
| your CFLAGS or CXXFLAGS settings.

Note typo "which we so far build with" should be "which we so far don't
build with" ... anyway..

/usr/include/unicode/uversion.h has such mechanism and in releases
earlier than ICU 60 had the "using namespace icu;" always enabled, but
changed that in 61, it still can be overridden with
-DU_USING_ICU_NAMESPACE=1 which we don't and our code has no such using
directive. Maybe the distribution did. One thing odd I found was in
i18npool/source/search/textsearch.hxx a "using namespace U_ICU_NAMESPACE;"
(see unicode/uversion.h for what that could be, either versioned or
unversioned "icu") but that's not pulled in here. Bad enough though,
I'll change that anyway.

  Eike

-- 
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A

Attachment: signature.asc
Description: PGP signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to