[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9960: Compiling Emacs trunk with MSVC
From: |
Eli Zaretskii |
Subject: |
bug#9960: Compiling Emacs trunk with MSVC |
Date: |
Mon, 21 Nov 2011 08:56:50 -0500 |
> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Mon, 21 Nov 2011 13:14:33 +0100
> Cc: monnier@iro.umontreal.ca, cschol2112@googlemail.com,
> fabrice.popineau@supelec.fr, 9960@debbugs.gnu.org
>
> On Mon, Nov 21, 2011 at 04:51, Eli Zaretskii <eliz@gnu.org> wrote:
>
> > The hidden assumption is that a long and a pointer are of the same
> > width. This is true on 32-bit hosts and on 64-bit Posix hosts (which
> > have the LP64 architecture), but not on 64-bit Windows, where long is
> > a 32-bit data type, but a pointer is 64-bit wide.
>
> Aha, I see. So Fabrice is right: the code should not assume that, and
> mixed uses of long/pointer will have to be "fixed".
One way of fixing that would be to use ptrdiff_t instead of long, I
think.
- bug#9960: Compiling Emacs trunk with MSVC, (continued)
- bug#9960: Compiling Emacs trunk with MSVC, Stefan Monnier, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Juanma Barranquero, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Andreas Schwab, 2011/11/21
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/21
- bug#9960: Compiling Emacs trunk with MSVC, Juanma Barranquero, 2011/11/21
- bug#9960: Compiling Emacs trunk with MSVC,
Eli Zaretskii <=
- bug#9960: Compiling Emacs trunk with MSVC, Richard Stallman, 2011/11/21
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/11
- bug#9960: Compiling Emacs trunk with MSVC, Fabrice Popineau, 2011/11/11
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/11
- bug#9960: Compiling Emacs trunk with MSVC, Fabrice Popineau, 2011/11/11
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/12
- bug#9960: Compiling Emacs trunk with MSVC, Fabrice Popineau, 2011/11/12
- bug#9960: Compiling Emacs trunk with MSVC, Óscar Fuentes, 2011/11/12
- bug#9960: Compiling Emacs trunk with MSVC, Richard Stallman, 2011/11/12
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/12