I fixed this with commit 6fa1fa2b88cbceb204fac1b1eeed6c94026ee988, and also needed c0afafeee09cedd3f7cece69028b73abca647569 due to strict enums in C++ 2011.
Jim, you also broke test/ with your Java 1.8 change, I had to fix that with commit 7dd1299384489e9e0f00010dd91111c7b5abae84. And recent Clang's lld hasn't been able to link OpenOffice for a while, due to its stricter requirements for symbol version scripts, that is fixed in commit 3e6a53ec4966bc78e4eb80339b6629fb1dcd11be. Arrigo: we don't really need f73ac418d5dd20ea224f626049f59311eb46536f, you can build with autoconf 2.73 if you set CFLAGS="-std=gnu99". I don't know why there are so many large systemic changes lately. Now is not a good time, and they were made without any discussion. Regards Damjan On Sat, Jul 4, 2026 at 6:15 PM Damjan Jovanovic <[email protected]> wrote: > Hi > > This commit makes OpenOffice unbuildable on FreeBSD and probably Linux: > > ---snip--- > commit 7ce5b5df31d462d18bd1a27767f9ee8b2b323b86 > Author: Jim Jagielski <[email protected]> > Date: Thu Jul 2 05:33:55 2026 -0400 > > Raise the C++ standard floor to C++11 on Linux and FreeBSD > > Linux and FreeBSD were pinned to -std=gnu++98 while macOS already > builds at C++11. Bump both platforms (dmake and gbuild build systems) > to -std=gnu++11, making C++11 the lowest supported standard across all > platforms. gnu++11 (rather than strict c++11) preserves the GNU dialect > the codebase relies on and avoids __STRICT_ANSI__ system-header > fallout. > > Compiler floor is GCC 4.8.5 (CentOS 7), which fully supports gnu++11. > ---snip--- > > In file included from main/vcl/unx/gtk/a11y/atkbridge.cxx:28: > In file included from main/vcl/inc/unx/gtk/gtkframe.hxx:28: > In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:32: > In file included from /usr/local/include/gtk-2.0/gdk/gdk.h:32: > In file included from > /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30: > In file included from /usr/local/include/glib-2.0/gio/gio.h:28: > In file included from /usr/local/include/glib-2.0/gio/giotypes.h:30: > In file included from /usr/local/include/glib-2.0/gio/gioenums.h:30: > In file included from /usr/local/include/glib-2.0/glib-object.h:24: > In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:30: > In file included from /usr/local/include/glib-2.0/glib.h:34: > In file included from /usr/local/include/glib-2.0/glib/gasyncqueue.h:34: > In file included from /usr/local/include/glib-2.0/glib/gthread.h:34: > In file included from /usr/local/include/glib-2.0/glib/gatomic.h:30: > In file included from /usr/local/include/glib-2.0/glib/glib-typeof.h:43: > In file included from /usr/include/c++/v1/type_traits:421: > /usr/include/c++/v1/__fwd/functional.h:20:1: error: templates must have > C++ linkage > 20 | template <class> > | ^~~~~~~~~~~~~~~~ > /store0/Projects/Apache/Public/openoffice/openoffice-git/main/solver/450/unxfbsdx/inc/tools/prex.h:39:1: > note: extern "C" language linkage specification begins here > 39 | extern "C" { > | ^ > > And almost all other files in vcl get the same error. > > On which platforms was this commit tested? > > Regards > Damjan > >
