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]

Re: Patch to make bfd compile with -Wc++-compat


On Tue, Sep 8, 2009 at 9:38 PM, Martin Thuresson<martin@mtme.org> wrote:
> On Tue, Sep 8, 2009 at 3:04 PM, Ian Lance Taylor<iant@google.com> wrote:
>> Martin Thuresson <martin@mtme.org> writes:
>>
>>> The following patch makes bfd compile cleanly with -Wc++-compat. It
>>> adds a lot of casts, and fixes a couple of naming issues.
>>
>> Just out of curiousity, which version of gcc are you using?
>>
>> -Wc++-compat in mainline gcc is much stricter than in previous versions.
>
> I was using 4.4.0, but I reran it with 4.5.0 20090908 and found a few
> more issues.
> Im testing my new patch now and will submit it there are no regressions. I will
> make sure to use the new one for the other packages.

Reran make check, make check-gas and make check-ld on x86_64-linux and arm-eabi
and found no regression.

Thanks,
Martin

Attachment: bfd_fix.2.changelog
Description: Binary data

Attachment: bfd_fix.2.patch
Description: Binary data


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