[PATCH][bfd, opcodes] Remove C99 constructs

Alan Modra amodra@gmail.com
Fri Sep 24 01:12:27 GMT 2021


On Thu, Sep 23, 2021 at 10:39:35PM +0200, Tom de Vries via Binutils wrote:
> Hi,
> 
> When doing a gdb build with --enable-targets=all and gcc-4.8, we run into
> build errors.
> 
> Two of those are in bfd and opcodes, related to using for loop initial
> declarations.  This is a C99 construct which is not availabe by default with
> gcc-4.8.

So why is AC_PROG_CC_C99 in the top level makefile not effective for
you?  I can successfully build binutils with gcc-4.8.  For me the
build system automatically adds -std=gnu99.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list