This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Require C99 for bfd
- From: "Ian Lance Taylor via binutils" <binutils at sourceware dot org>
- To: cbiesinger at chromium dot org
- Cc: Binutils <binutils at sourceware dot org>, Christian Biesinger <cbiesinger at google dot com>
- Date: Wed, 29 Jan 2020 07:08:08 -0800
- Subject: Re: [PATCH] Require C99 for bfd
- References: <20200129140820.218587-1-cbiesinger@chromium.org>
- Reply-to: Ian Lance Taylor <iant at google dot com>
On Wed, Jan 29, 2020 at 6:08 AM <cbiesinger@chromium.org> wrote:
>
> This allows writing more modern code, such as not having to declare all
> variables at the top of a block.
>
> See also discussion at:
> https://sourceware.org/ml/binutils/2020-01/threads.html#00334
>
> Unfortunately, because of how the toplevel Makefile works, we have to
> override CC for this to work. gnulib/Makefile.am already has a workaround
> for this issue.
If I understand that correctly, I think it's a non-starter. A command like
make CC="gcc-tip"
should continue to work.
Iian