This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix build breakages on OSX due to -Wshadow and use of mempcpy.


Hi,

      This patch fixes a number of errors caused by use of -Wshadow and mempcpy.

-Doug

2009-12-14  Doug Kwan  <dougkwan@google.com>

bfd/ChangeLog:

        * bfd-in2.h (bfd_opnr_iovec): Rename parameters to avoid shawdowed
        declaration warnings.

gas/ChangeLog:

        * config/tc-i386.c (show_arch): Replace uses of mempcpy with
        equivalent code sequences with memcpy for portability.

include/ChangeLog:

        * bfdlink.h (struct bfd_link_callbacks): Rename function parameters
        to avoid shadowed declaration warnings.
        * dis-asm.h (struct disassemble_info): Ditto.
        (disassemble_init_for_target): Ditto.
        (init_disassemble_info): Ditto.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]