Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: architecture independent wordcode files (.zwc)



On Sun, 13 May 2001, Bart Schaefer wrote:

> A thought that occurred to me, though I don't know if this is actually the
> problem Paul is having:
>
> /********************************************/
> /* Defintions for word code                 */
> /********************************************/
>
> typedef unsigned int wordcode;
> typedef wordcode *Wordcode;
>
>
> There are architectures where `unsigned int' is 16 bits or 64 bits.  We
> should be determining a 32-bit type via configure and using it here.
>

Yes, that occured to me as well. We cover big/little endian case, but
what about 32 vs 64 bit systems? There may be subtle differences there,
e.g. in the way integer parameter are interpreted.

-andrej



Messages sorted by: Reverse Date, Date, Thread, Author