public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* bfd_size_type
@ 2001-08-27 18:37 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2001-08-27 18:37 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-27 18:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-27 18:37 bfd_size_type Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).