This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
bfd_size_type
- To: binutils at sourceware dot cygnus dot com
- Subject: bfd_size_type
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Tue, 28 Aug 2001 10:52:16 +0930
I've been looking at the huge number of warnings you get with -Wconversion.
Most of these are in fact errors if you're trying to compile binutils
with a K&R compiler from a 32 bit host to a 64 bit target, but I guess no
one cares too much about trying to do that these days.
Anyway, a large number of the warnings are about bfd_read args. I'm
wondering why bfd_read has bfd_size_type args, as it's rather futile
to try to read more than 2^32 bytes on a 32 bit host. Does anyone
have an objection to simply using size_t for bfd_read?
Alan