[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling (development) Emacs with MSVC
From: |
Stefan Monnier |
Subject: |
Re: Compiling (development) Emacs with MSVC |
Date: |
Wed, 05 Jan 2011 16:14:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> After looking around and googling about this issue, the problem is
> trickier than what I thought at first. Even my first explanation may
> not be complete. Anyway, mixing enum and bit fields seems to be
> incompatible with portability.
IIUC gcc uses something like
ENUM_BF(Lisp_Misc_Type) tag : 3;
where ENUM_BF(x) can either turn into "enum x" or "unsigned int"
depending on whether the compiler supports unsigned bit fields.
Stefan