Re: Typecasting in C
In article <cbsqoj$s84$1@n ews-reader5.wanadoo .fr>,
"jacob navia" <jacob@jacob.re mcomp.fr> wrote:
[color=blue]
> "Christian Bau" <christian.bau@ cbau.freeserve. co.uk> a écrit dans le message
> de news:christian. bau-2D4876.23284129 062004@slb-newsm1.svr.pol. co.uk...[color=green]
> > In article <cbspi1$oks$1@n ews-reader5.wanadoo .fr>,
> > "jacob navia" <jacob@jacob.re mcomp.fr> wrote:
> >[color=darkred]
> > > I think lcc-win32 will eventually migrate to
> > >
> > > sizeof(void *) == 32, sizeof(int) 32
> > > sizeof( __long void *) == 64, sizeof (long long) == 64.[/color]
> >
> > Are you sure about that?[/color]
>
> The rationale is that most programs do have a certain use of the
> extra registers provided by the new architecture, but will never
> need more than 4GB address range for most pointers.[/color]
So why would you need sizeof (void *) == 32? Don't you think that 256
bit pointers are a bit excessive and 256 bit int is a bit much as well?
In article <cbsqoj$s84$1@n ews-reader5.wanadoo .fr>,
"jacob navia" <jacob@jacob.re mcomp.fr> wrote:
[color=blue]
> "Christian Bau" <christian.bau@ cbau.freeserve. co.uk> a écrit dans le message
> de news:christian. bau-2D4876.23284129 062004@slb-newsm1.svr.pol. co.uk...[color=green]
> > In article <cbspi1$oks$1@n ews-reader5.wanadoo .fr>,
> > "jacob navia" <jacob@jacob.re mcomp.fr> wrote:
> >[color=darkred]
> > > I think lcc-win32 will eventually migrate to
> > >
> > > sizeof(void *) == 32, sizeof(int) 32
> > > sizeof( __long void *) == 64, sizeof (long long) == 64.[/color]
> >
> > Are you sure about that?[/color]
>
> The rationale is that most programs do have a certain use of the
> extra registers provided by the new architecture, but will never
> need more than 4GB address range for most pointers.[/color]
So why would you need sizeof (void *) == 32? Don't you think that 256
bit pointers are a bit excessive and 256 bit int is a bit much as well?
Comment