From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Jaeger To: Andrew Cagney Cc: binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: bfd_read and bfd_write Date: Wed, 05 Sep 2001 23:15:00 -0000 Message-id: References: <20010905145037.K13524@bubble.sa.bigpond.net.au> <3B965696.70401@cygnus.com> <20010905122109.A17937@redhat.com> <3B96C2B2.8050409@cygnus.com> <20010906112244.C24712@bubble.sa.bigpond.net.au> X-SW-Source: 2001-09/msg00065.html Alan Modra 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. thanks, Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj