emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling Elisp to a native code with a GCC plugin


From: James Cloos
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Fri, 17 Sep 2010 15:22:15 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

>>>>> "EZ" == Eli Zaretskii <address@hidden> writes:

EZ> The issue here is that EMACS_INT can be a 64-bit type (on a 64-bit
EZ> host), but MAX_INT is always the maximum possible value of a 32-bit
EZ> int, even on a 64-bit machine.

More precisely that many 64 bit systems have sizeof(int)*CHAR_BIT == 32.

Alpha is an obvious exception.

It would have been much easier had someone just wrote s/INT_MAX/LONG_MAX/g.
(Except on DOZE64, of course, where sizeof(long)==sizeof(int)==4.)

-JimC
-- 
James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6



reply via email to

[Prev in Thread] Current Thread [Next in Thread]