Failed to build bfin-elf-as because of shadowed declaration.
Mike Frysinger
vapier@gentoo.org
Thu Jan 14 08:02:00 GMT 2010
On Wednesday 13 January 2010 23:51:51 Jie Zhang wrote:
> On 01/14/2010 09:59 AM, Masaki Muranaka wrote:
> > I've some warnings when building tc-btin.c (the version of
> > i386-pc-mingw32-gcc is 3.4.5). This can be fixed routinely. I hesitate to
> > create patch though since there are a lot of declarations in bfin-aux.h.
> > It's possible to fix the place we get warnings. But it brakes some kind
> > of consistency. Do we need variable names in global declaration there?
>
> I don't think so. It seems gcc-3.4 is stricter than gcc-4.x on shadow
> warning. gcc-4.x does not report these warnings.
-Wshadow was just added to cvs binutils ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20100114/6c45faf6/attachment.sig>
More information about the Binutils
mailing list