NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/34516: size_t should be equivalent to unsigned long
The following reply was made to PR lib/34516; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: David Holland <dholland-bugs%netbsd.org@localhost>,
gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, Christian Biere
<christianbiere%gmx.de@localhost>
Subject: Re: lib/34516: size_t should be equivalent to unsigned long
Date: Sun, 24 Feb 2008 22:21:26 -0500
On Feb 25, 2:17am, dholland-bugs%netbsd.org@localhost (David Holland) wrote:
-- Subject: Re: lib/34516: size_t should be equivalent to unsigned long
| I remain unconvinced that there's any reason to change, and in fact
| there seems to be some reason to think that keeping the current
| behavior (size_t == unsigned int) is more desirable than changing
| would be.
|
It would be nice if size_t was consistent across all NetBSD platforms,
but it is not and changing it at this point will create more problems
that it solves. For example, c++ functions that have size_t arguments
are going to change mangled names leading to major library bumps for
all c++ shared libraries. Yes, providing both the unsigned long and
unsigned int versions of the functions is an option but it creates
other issues.
christos
Home |
Main Index |
Thread Index |
Old Index