[PATCH] ppc: avoid C99-style loop
Nick Clifton
nickc@redhat.com
Fri Apr 23 13:29:52 GMT 2021
Hi Jan,
> While work towards using/requiring C99 is underway, this "dialect" at
> present doesn't look to get enforced anywhere,
Well except for the fact that feature of the dialect are now being used
in the sources...
> .../opcodes/ppc-dis.c: In function ‘print_insn_powerpc’:
> .../opcodes/ppc-dis.c:1071: error: ‘for’ loop initial declaration used outside C99 mode
That error implies that the compiler can operate in C99 mode, but that
it is not doing so. Is this the case ? If so, then the real bug is
that the compiler is not being given the flag(s) that it needs to enable
this mode.
Cheers
Nick
More information about the Binutils
mailing list