This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Patch to make bfd compile with -Wc++-compat
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