On 11/16/26 04:28, Peter Dordal wrote:
I am trying to build LibreOffice under Linux, Ubuntu 22.04. I've
installed all the dependencies listed at https://
wiki.documentfoundation.org/Development/BuildingOnLinux
I prefix ./autogen.sh and make with *CC=gcc-16 CXX=g++-16 *(I have also
tried versions 13 and 14, and plain gcc/g++ with update-alternatives
pointing to version 14). Make always fails for me with this:
[CXX] workdir/UnpackedTarball/skia/src/ports/
SkFontHost_FreeType_common.cpp
error: invalid value 'c++23' in '-std=c++23'
Oddly, a plain g++ -std=c++23 foo.c does not result in an error.
Any suggestions?
Can you share your full build log and the files config.log and
config_host.mk via a paste service like https://bpa.st/ ?
You can log the build output to a file with `make 2>&1 | tee build.log`
for example.
Ilmari