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



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