LO 24.2 C++20 baseline

Ilmari Lauhakangas ilmari.lauhakangas at libreoffice.org
Fri Sep 22 16:05:05 UTC 2023


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

Ilmari


More information about the LibreOffice mailing list