From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38611 invoked by alias); 19 Apr 2016 13:34:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 38593 invoked by uid 89); 19 Apr 2016 13:34:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Hx-languages-length:1330, promptly X-HELO: usplmg21.ericsson.net Received: from usplmg21.ericsson.net (HELO usplmg21.ericsson.net) (198.24.6.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 19 Apr 2016 13:34:04 +0000 Received: from EUSAAHC001.ericsson.se (Unknown_Domain [147.117.188.75]) by usplmg21.ericsson.net (Symantec Mail Security) with SMTP id DA.0B.03614.F9336175; Tue, 19 Apr 2016 15:33:19 +0200 (CEST) Received: from [142.133.110.144] (147.117.188.8) by smtp-am.internal.ericsson.com (147.117.188.77) with Microsoft SMTP Server id 14.3.248.2; Tue, 19 Apr 2016 09:34:00 -0400 Subject: Re: [PATCH 0/1] Build GDB as a C++ program by default To: Pedro Alves , References: <1461000466-31668-1-git-send-email-palves@redhat.com> From: Simon Marchi Message-ID: <571633C8.4060803@ericsson.com> Date: Tue, 19 Apr 2016 13:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1461000466-31668-1-git-send-email-palves@redhat.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00438.txt.bz2 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++?