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

Reply via email to