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?
Peter Dordal