From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20027 invoked by alias); 21 May 2014 22:05:32 -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 19996 invoked by uid 89); 21 May 2014 22:05:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 21 May 2014 22:05:31 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BE638116105; Wed, 21 May 2014 18:05:29 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ewSOzJKY2wGt; Wed, 21 May 2014 18:05:29 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 89FF91160F8; Wed, 21 May 2014 18:05:29 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 4B4B0436C4; Wed, 21 May 2014 15:05:29 -0700 (PDT) Date: Wed, 21 May 2014 22:05:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] constify to_attach Message-ID: <20140521220529.GP22822@adacore.com> References: <1400696455-29563-1-git-send-email-tromey@redhat.com> <87mwebhsc2.fsf@fleche.redhat.com> <20140521212227.GN22822@adacore.com> <874n0ihl1c.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874n0ihl1c.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-05/txt/msg00523.txt.bz2 > Yeah. C99 designated initializers are really nice for this reason. I searched the GDB wiki about C99, and there were no hits. I am wondering if we should be starting a list of C99 features we think would be worthwhile to allow. This one would definitely be on my list! Perhaps we can also list some of the issues that would prevent us from adopting a subset of C99 (Eg: fear if missing checks against disallowed features)? (just thinking aloud) -- Joel