This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 0/1] Build GDB as a C++ program by default
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Tue, 19 Apr 2016 09:34:00 -0400
- Subject: Re: [PATCH 0/1] Build GDB as a C++ program by default
- Authentication-results: sourceware.org; auth=none
- References: <1461000466-31668-1-git-send-email-palves at redhat dot com>
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++?