[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bookkeeping to prepare for a 64-bit EMACS_INT on 32-bit hosts
From: |
Eli Zaretskii |
Subject: |
Re: bookkeeping to prepare for a 64-bit EMACS_INT on 32-bit hosts |
Date: |
Fri, 29 Apr 2011 12:17:37 +0300 |
> Date: Fri, 29 Apr 2011 02:06:15 -0700
> From: Paul Eggert <address@hidden>
> Cc: address@hidden
>
> The name "intptr" may be a bit confusing to a reader who doesn't
> know C99, but once you're used to the standard meaning, any other name
> would sound weird.
I'll let others chime in if they want. If it's just me that is
confused, I guess I'll survive this culture shock.
> > When you do that, please don't hardwire "long long" for the 32+64-bit
> > builds. That type is not standard enough in C90; in particular the
> > MSVC compiler we still support for Windows doesn't have it, but it
> > does have compatible __int64 and __uint64 types.
>
> Thanks, I hadn't thought of that. Before I got your email I already
> sent out a simple patch
> <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00908.html>
> that did not use __int64 (so it continued to use 32-bit int on
> Windows). I will look into extending that patch, so that it also works with
> __int64.
Thanks.
support 64-bit EMACS_INT on 32-bit hosts, Paul Eggert, 2011/04/29