public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Christian Biesinger <cbiesinger@google.com>
To: Joseph Myers <joseph@codesourcery.com>
Cc: Nick Clifton <nickc@redhat.com>,
	 Christian Biesinger via gcc-patches <gcc-patches@gcc.gnu.org>,
	Binutils <binutils@sourceware.org>,
	 gdb-patches <gdb-patches@sourceware.org>
Subject: Re: RFC: Changing AC_PROG_CC to AC_PROG_CC_C99 in top level configure
Date: Mon, 26 Apr 2021 16:31:23 -0500	[thread overview]
Message-ID: <CAPTJ0XFmoibpepsdpCzWUPd9UgU1aaRkpcgbE23Cy5qss2vc1A@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2104261928410.641239@digraph.polyomino.org.uk>

On Mon, Apr 26, 2021 at 2:32 PM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Mon, 26 Apr 2021, Nick Clifton via Gcc-patches wrote:
>
> > Hi Guys,
> >
> >   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.)

But AC_PROG_CC_C99 makes sure that the compiler supports C99, and
AC_PROG_CC does not.

Christian

  parent reply	other threads:[~2021-04-26 21:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 11:32 Nick Clifton
2021-04-26 19:32 ` Joseph Myers
2021-04-26 20:05   ` Mike Frysinger
2021-04-26 21:31   ` Christian Biesinger [this message]
2021-04-27 10:49   ` Nick Clifton
2021-04-27 16:58     ` Joseph Myers
2021-04-30 18:36 ` Simon Marchi
2021-04-30 21:48   ` Jeff Law
2021-05-03  6:28     ` Alan Modra
2021-05-03 14:47       ` Simon Marchi
2021-05-03 16:26         ` Tom Tromey
2021-05-03 21:51         ` Alan Modra
2021-05-03 23:30           ` Simon Marchi
2021-05-04 12:42   ` Nick Clifton
2021-05-04 15:16     ` Simon Marchi
2021-05-05  0:18       ` Alan Modra
2021-05-05  7:05         ` Iain Sandoe
2021-05-05  7:20           ` Alan Modra
2021-05-05  7:23             ` Iain Sandoe
2021-05-10  8:49             ` Iain Sandoe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPTJ0XFmoibpepsdpCzWUPd9UgU1aaRkpcgbE23Cy5qss2vc1A@mail.gmail.com \
    --to=cbiesinger@google.com \
    --cc=binutils@sourceware.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=joseph@codesourcery.com \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).