[Info-vax] The Road to V9.0
John Reagan
xyzzy1959 at gmail.com
Tue Oct 15 15:09:17 EDT 2019
On Tuesday, October 15, 2019 at 8:11:22 AM UTC-4, Simon Clubley wrote:
> On 2019-10-14, Dave Froble <davef at tsoft-inc.com> wrote:
> > On 10/14/2019 2:00 PM, Simon Clubley wrote:
> >
> >> I've not seen any new application level C code in the last 20 years
> >> or so that uses a 32-bit unsigned long int to store an address.
> >
> > Ok, cannot resist. So you've reviewed all the C code created int he
> > last 20 years? My, you must read rather fast ...
> >
> >:-)
> >
>
> Perhaps you are the one who is reading too fast. :-)
>
> I said code that I've seen (from lots of sources).
>
> I didn't say all code ever written in the last 20 years...
>
> Simon.
>
> --
> Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.
But I have seen a ton of code that uses "size_t" to declare a pointer instead of the proper "intptr_t". In almost all cases, they are the same size, but OpenVMS is different. "size_t" (and "ptrdiff_t") is 32-bits but "intptr_t" is 64-bits.
More information about the Info-vax
mailing list