Re: [PATCH 0/1] Build GDB as a C++ program by default

Simon Marchi
2016-04-19T13:34:10Z

On 16-04-18 01:27 PM, Pedro Alves wrote:
> It's been a long ride, but GDB now builds cleanly as a C++ program on
> most supported systems.
>
> There are a few host-specific files that may be missing the occasional
> cast, but for all I know, most of the codebase has been converted and
> builds cleanly, with no undefined behavior and no hacks.
>
> It's time to try building GDB with a C++ compiler by default, which is
> what the the following trivial patch does.
>
> Following the discussion on the gdb@ list, this flips the default on
> all hosts, unconditionally.
>
> Note that it's still possible to revert back to building with a C
> compiler, by configuring with --enable-build-with-cxx=no. For the
> moment, we have a Fedora buildslave specifically set up to catch
> C-mode build failures on Fedora, so C-mode breakage should still be
> noticed and fixed promptly.
>
> The decision of when to drop C-mode support will be done at some other
> moment, possibly only after the next release.
>
> Pedro Alves (1):
> Build GDB as a C++ program by default
>
> gdb/build-with-cxx.m4 | 2 +-
> gdb/configure | 2 +-
> gdb/gdbserver/configure | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>

Does that mean that all supported hosts have been tested to build in C++?