From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25750 invoked by alias); 24 Jan 2020 11:50:30 -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 25741 invoked by uid 89); 24 Jan 2020 11:50:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:687, H*i:sk:PUp910N, H*f:sk:PUp910N, H*f:sk:dBRbdDW X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Jan 2020 11:50:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579866627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=U9CqU9dIhDdHojYhUK06QqaJdib1iMaBJdwkP6wshi0=; b=TCbpZ5oFiwFMZ79qKsYs6Y3sX/C71BrWJTUnYijFtG7PIJFFJ3FVI0PmBxxtNksEHnOZC4 +2Arvt58OwzBVUgwgaqNfzuTxlfTNRhDKRXXNEDmZ/pGpTYknFgjd9ZLhcV5N4bEO+XGe2 pxPV4RLI4ugn9HxXEbeu3UWqJ7k+8cc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-79-pAEkF60sPeibi-iYuXc9UA-1; Fri, 24 Jan 2020 06:50:19 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 42280100550E; Fri, 24 Jan 2020 11:50:18 +0000 (UTC) Received: from [10.36.116.235] (ovpn-116-235.ams2.redhat.com [10.36.116.235]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8DD7B845A0; Fri, 24 Jan 2020 11:50:17 +0000 (UTC) Subject: Re: Allow C99/C11 in bfd? To: Christian Biesinger , binutils@sourceware.org Cc: gdb@sourceware.org References: From: Nick Clifton Message-ID: Date: Fri, 24 Jan 2020 11:50:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg00056.txt.bz2 Hi Christian, > I noticed that bfd is currently using C89. I was wondering if there > are any thoughts on allowing C99/C11 in there? It would be nice to be > able to declare variables at the time of first use, among other useful > features. I would be willing to consider such a change, provided that there are no strenuous objections... > (I'm not even going to ask about C++, although I think that would be nice) Bah! Real programmers don't use C++! Just joking of course, but I seriously doubt that we will want to change the code base now. Speaking personally I am much more comfortable with C than with C++, but that is probably just me. Cheers Nick