From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Compiling (development) Emacs with MSVC Date: Wed, 05 Jan 2011 16:14:55 -0500 Message-ID: References: <83sjy5279e.fsf@gnu.org> <83oc8jfii1.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294262231 29080 80.91.229.12 (5 Jan 2011 21:17:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2011 21:17:11 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 05 22:17:05 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PaajB-0008Hz-6r for ged-emacs-devel@m.gmane.org; Wed, 05 Jan 2011 22:17:05 +0100 Original-Received: from localhost ([127.0.0.1]:56240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaajA-0002JL-OR for ged-emacs-devel@m.gmane.org; Wed, 05 Jan 2011 16:17:04 -0500 Original-Received: from [140.186.70.92] (port=59279 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaahB-0001Vm-KY for emacs-devel@gnu.org; Wed, 05 Jan 2011 16:15:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Paah9-0005WO-HD for emacs-devel@gnu.org; Wed, 05 Jan 2011 16:15:00 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:39356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Paah9-0005Vt-DH; Wed, 05 Jan 2011 16:14:59 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p05LEuN8014090; Wed, 5 Jan 2011 16:14:56 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id C6B4A130519; Wed, 5 Jan 2011 16:14:55 -0500 (EST) In-Reply-To: (Fabrice Popineau's message of "Mon, 3 Jan 2011 11:21:46 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3731=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134301 Archived-At: > 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