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

Martin Thuresson martin@mtme.org
Wed Sep 9 04:39:00 GMT 2009


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.

Thanks,
Martin



More information about the Binutils mailing list