This is the mail archive of the
mailing list for the binutils project.
Re: bfd_read and bfd_write
Alan Modra <email@example.com> writes:
>> it also covers the k&r problem - you cant rely on a k&r compiler to
>> report parameter mismatches.
> That's the other part of my bfd patchset: Fixing all the -Wconversion
> errors that gcc reports. I've done 32 bit native, 32 -> 64 bit xcompiles,
> with 64 bit native and 64 -> 32 bit xcompiles yet to do. The last two
> cases should catch all the int/long mismatches, the first two catch
> int/long vs. bfd_vma/bfd_size_type etc. mismatches.
Have you done --enable-targets=all --enable-64-bit-bfd builds - and
fixed all those warnings? Wow! I'm looking forward to that patch.
In that case we should add -Wconversion to build_warnings.
SuSE Labs firstname.lastname@example.org