6.3.0.0.beta2: calendarImpl: name clash

Stephan Bergmann sbergman at redhat.com
Thu Jun 27 14:30:29 UTC 2019


On 27/06/2019 09:35, balducci at units.it wrote:
> apparently due to 942de6a01ba990e5f3bc55ce4ab3737a03f67f39, 6.3.0.0.beta2 build
> stops for me with:
> 
>        ----8<----
>        /home/balducci/tmp/install-us-d/libreoffice-6.2.5.1.d/libreoffice-6.3.0.0.beta2/i18npool/source/calendar/calendarImpl.cxx:44:44: error: reference to 'Locale' is ambiguous
>           44 | CalendarImpl::loadDefaultCalendarTZ( const Locale& rLocale, const OUString& rTimeZone )
>              |                                            ^~~~~~
>        [...]
>        /home/balducci/tmp/install-us-d/libreoffice-6.2.5.1.d/libreoffice-6.3.0.0.beta2/workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/lang/Locale.hdl:17:43: note: candidates are: 'struct com::sun::star::lang::Locale'
>           17 | struct SAL_DLLPUBLIC_RTTI SAL_WARN_UNUSED Locale {
>              |                                           ^~~~~~
>        [...]
>        /usr/include/unicode/locid.h:192:20: note:                 'class icu::Locale'
>          192 | class U_COMMON_API Locale : public UObject {
>              |                    ^~~~~~

...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.


More information about the LibreOffice mailing list