This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Updates for improved reusability/clarity
Martin Thuresson <martin@mtme.org> writes:
> In bfd/elf-bfd.h, the union gotplt_unit is defined inside struct
> elf_link_hash_entry, but is then used in other structs. This does not
> compile with c++. I therefor suggest to move gotplt_unit.
Hi Martin. I think you should build the development sources of gcc and
use it to compile the GNU binutils with -Wc++-compat. -Wc++-compat is
much tougher in development gcc. I think, perhaps optimistically, that
there would be few objections to fixing anything found by that warning.
In any case, just go ahead and propose the patches. People are
infinitely more likely to comment on a specific proposed patch than they
are to comment on a general question about a possible change.
Ian