220.127.116.11.beta2: calendarImpl: name clash
erack at redhat.com
Thu Jun 27 17:01:32 UTC 2019
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.
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the LibreOffice