I notice this patch has already been committed, and I can confirm I can now 
build LO without needing the -fexperimental-library switch.
Thank you.

Regards,
Etna

________________________________
发件人: LibreOffice <libreoffice-boun...@lists.freedesktop.org> 代表 Ilmari 
Lauhakangas <ilmari.lauhakan...@libreoffice.org>
发送时间: 2025年1月12日 16:22
收件人: libreoffice@lists.freedesktop.org <libreoffice@lists.freedesktop.org>
主题: Re: Latest changes to poppler breaks build against Clang and libc++15

On 12.1.2025 3.49, Etna - wrote:
> Hello all, attempting to build the latest checkout against Debian 12 on a 
> self-compiled LLVM15, libc++15 and clang-15 returns the following error:
>
> -----------
> /home/etna/Tmpdir/libreoffice/build/workdir/UnpackedTarball/poppler/poppler/Dict.cc:116:30:
>  error: no member named 'sort' in namespace 'std::ranges'
>                  std::ranges::sort(that->entries, CmpDictEntry {});
>                  ~~~~~~~~~~~~~^
> /home/etna/Tmpdir/libreoffice/build/workdir/UnpackedTarball/poppler/poppler/Dict.cc:123:39:
>  error: no member named 'lower_bound' in namespace 'std::ranges'
>          const auto pos = std::ranges::lower_bound(entries, key, std::less<> 
> {}, &DictEntry::first);

Try this patch and let us know how it goes:
https://gerrit.libreoffice.org/c/core/+/180026

Ilmari

Reply via email to