From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125415 invoked by alias); 1 Sep 2016 18:07:52 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 125403 invoked by uid 89); 1 Sep 2016 18:07:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=guidelines, H*r:112 X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Sep 2016 18:07:50 +0000 Received: by simark.ca (Postfix, from userid 112) id A5F821E819; Thu, 1 Sep 2016 14:07:48 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id A947C1E7D1; Thu, 1 Sep 2016 14:07:47 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 01 Sep 2016 18:07:00 -0000 From: Simon Marchi To: Pedro Alves Cc: gdb@sourceware.org Subject: Re: Go C++ only In-Reply-To: <212bc30a-e6ad-886b-0881-8206dd91b933@redhat.com> References: <212bc30a-e6ad-886b-0881-8206dd91b933@redhat.com> Message-ID: <410fa84696e520ca3845c841fc7391b8@simark.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.0 X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00005.txt.bz2 On 2016-09-01 13:32, Pedro Alves wrote: > Hi all, > > As last discussed, the general consensus was to make 7.12 > the last gdb version that supports building with a C compiler. > > I've been holding proposing to drop C-mode support in master > with the idea that that would help with all the bugfix > backporting going on. I've had to explain this several times > recently, as people are eager to use C++ features. Multiple > times this week, even. > > At this point the backporting rate is quite low though, so > maybe it no longer makes that much sense to hold C++ back, > at least in new code. > > What do people think? Time to march ahead? > > Thanks, > Pedro Alves Are there some guidelines about which C++ features we can use or not? Perhaps some precisions about the coding style, for C++-specific constructs (e.g. initializer lists). I suppose we'll end up copying what GCC does for the most part, but it should be clear. Thanks! Simon