From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id EA1913838007 for ; Mon, 26 Apr 2021 20:05:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA1913838007 Received: from vapier (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 78AB4341315; Mon, 26 Apr 2021 20:05:55 +0000 (UTC) Date: Mon, 26 Apr 2021 16:05:53 -0400 From: Mike Frysinger To: Joseph Myers Cc: Nick Clifton , gcc-patches@gcc.gnu.org, Binutils , gdb-patches@sourceware.org Subject: Re: RFC: Changing AC_PROG_CC to AC_PROG_CC_C99 in top level configure Message-ID: Mail-Followup-To: Joseph Myers , Nick Clifton , gcc-patches@gcc.gnu.org, Binutils , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2021 20:06:02 -0000 On 26 Apr 2021 19:32, Joseph Myers wrote: > On Mon, 26 Apr 2021, Nick Clifton via Gcc-patches wrote: > > Given that gcc, gdb and now binutils are all now requiring C99 as a > > minimum version of C, are there any objections to updating > > configure.ac to reflect this ? > > This isn't an objection, since upgrading auto* for the toolchain can be > complicated, but note that AC_PROG_CC_C99 is obsolete in Autoconf 2.70 and > instead AC_PROG_CC enables C11 mode if supported. (So moving to the > latest Autoconf and Automake releases would supersede this change.) considering how long it took before we adopted 2.69, seems unlikely we can upgrade to 2.70. plus, i think there was a flurry of regression fixes for 2.70, and ideally we'd get a 2.71 ? as long as we have 2.69, we should move to AC_PROG_CC_C99 in all projects. -mike