Failed to build bfin-elf-as because of shadowed declaration.
Masaki Muranaka
monaka@monami-software.com
Thu Jan 14 02:00:00 GMT 2010
Hello,
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?
Thanks,
- - - -
i386-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I../../pf3gnuchains4x/gas -I. -I../../pf3gnuchains4x/gas -I../bfd -I../../pf3gnuchains4x/gas/config -I../../pf3gnuchains4x/gas/../inc\
lude -I../../pf3gnuchains4x/gas/.. -I../../pf3gnuchains4x/gas/../bfd -I./../intl -DLOCALEDIR="\"/pizza/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wsha\
dow -Wno-format -Werror -g -O2 -D__USE_MINGW_ACCESS -MT tc-bfin.o -MD -MP -MF .deps/tc-bfin.Tpo -c -o tc-bfin.o `test -f 'config/tc-bfin.c' || echo '../../pf3gnuchains4x/gas/'\
`config/tc-bfin.c
In file included from ../../pf3gnuchains4x/gas/config/tc-bfin.c:1132:
../../pf3gnuchains4x/gas/config/bfin-aux.h:50: warning: declaration of 'reloc' shadows a global declaration
../../pf3gnuchains4x/gas/config/tc-bfin.c:925: warning: shadowed declaration is here
(snip)
--
Masaki Muranaka
Monami software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: ??????????????????????
URL: <https://sourceware.org/pipermail/binutils/attachments/20100114/00d21963/attachment.sig>
More information about the Binutils
mailing list