LO 24.2 C++20 baseline

Andreas Mantke maand at gmx.de
Fri Sep 22 18:20:07 UTC 2023


Hi Ilmari,

Am 22.09.23 um 18:05 schrieb Ilmari Lauhakangas:
> On 22.9.2023 18.36, Andreas Mantke wrote:
>> Am 22.09.23 um 09:20 schrieb Stephan Bergmann:
>>> I just submitted
>>> <https://git.libreoffice.org/core/+/1eef07805021b7ca26a1a8894809b6d995747ba1%5E%21>
>>>
>>> "Bump baseline to C++20" to master.  I will let it sit like that for a
>>> few more days, to see if anything breaks (Coverity? Linux distros'
>>> needs? etc.), before cleaning up now-unnecessary `#if __cplusplus <
>>> 202002L` etc., and before potentially unleashing the rewriting Clang
>>> plugin to mass-introduce uses of u""_ustr that I talked about
>>> yesterday at
>>> <https://events.documentfoundation.org/libreoffice-conference-2023/talk/U9XTSL/>
>>> "If I Had C++20".
>>>
> > Hi Stephan,
> >
> > I tried to compile from master on openSUSE 15.4 without success yet. It
> > complains about the compiler (the current tool chain is gcc 7).
> >
> > Regards,
> > Andreas
>
> You can upgrade to Leap 15.5 and compiling should work again:
> https://build.opensuse.org/package/show/openSUSE:Leap:15.5:Update/gcc12
>
unfortunately the upgrade didn't fix the issue. I got this lines at the
end of the autogen.sh run:

checking what the C++ library is... GNU libstdc++
checking for gperf... /usr/bin/gperf
checking whether gperf is new enough... yes (3.1)
checking which libcmis to use... internal
checking whether ccache g++ supports C++20... configure: error: no
Error running configure at ./autogen.sh line 321.


Regards,
Andreas

--
## Free Software Advocate
## Plone add-on developer
## My blog:http://www.amantke.de/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230922/9a790e0b/attachment.htm>


More information about the LibreOffice mailing list