From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61874 invoked by alias); 11 Oct 2016 11:17:03 -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 61817 invoked by uid 89); 11 Oct 2016 11:17:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1714, unacceptable, tuesday, Tuesday X-HELO: mga03.intel.com Received: from mga03.intel.com (HELO mga03.intel.com) (134.134.136.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Oct 2016 11:16:52 +0000 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP; 11 Oct 2016 04:16:43 -0700 X-ExtLoop1: 1 Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by fmsmga004.fm.intel.com with ESMTP; 11 Oct 2016 04:16:41 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.19]) by IRSMSX153.ger.corp.intel.com ([169.254.9.140]) with mapi id 14.03.0248.002; Tue, 11 Oct 2016 12:16:40 +0100 From: "Metzger, Markus T" To: Pedro Alves , "gdb-patches@sourceware.org" Subject: RE: [PATCH 1/3] Introduce gdb::unique_ptr Date: Tue, 11 Oct 2016 11:17:00 -0000 Message-ID: References: <1476117992-5689-1-git-send-email-palves@redhat.com> <1476117992-5689-2-git-send-email-palves@redhat.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-10/txt/msg00246.txt.bz2 > -----Original Message----- > From: Pedro Alves [mailto:palves@redhat.com] > Sent: Tuesday, October 11, 2016 12:23 PM > To: Metzger, Markus T ; gdb- > patches@sourceware.org > Subject: Re: [PATCH 1/3] Introduce gdb::unique_ptr > > Would it make sense to switch to C++11, instead? >=20 > I think it would make a lot of sense to switch to C++11. I'd love > that. rvalue references support, move-aware containers, "auto", > std::unique_ptr and std::shared_ptr would be all very nice to have. >=20 > The only question in my mind is -- are people OK with requiring > gcc 4.8 or later? >=20 > I think gcc 4.8 or newer were available in Fedora 20. I believe > Ubuntu 12.04 had it available as an option. On older RHEL systems, > it's available in DTS. >=20 > On older systems, you'd need to compile a newer gcc or clang first > before building gdb. Would people find that acceptable? Or put > another way, would anyone find that unacceptable? [...] =20 > WDYT? Wow, that was a long reply to such a small question. I was mainly wondering if it makes sense to write (and maintain) ones own version of a standard library feature. The big step was not supporting C any longer. Requiring C++11 looks small, by comparison. BTW, I noticed that maintainers seem very busy these days and patches are waiting unusually long for review. Regards, Markus. Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Christian Lamprechter Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928