From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.bugs Subject: bug#9960: Compiling Emacs trunk with MSVC Date: Sat, 05 Nov 2011 06:54:39 -0600 Message-ID: <4EB5320F.5090800@gmail.com> References: <83sjy5279e.fsf@gnu.org> <8339e2lsu7.fsf@gnu.org> <83zkgakdby.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320497732 3419 80.91.229.12 (5 Nov 2011 12:55:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2011 12:55:32 +0000 (UTC) Cc: fabrice.popineau@supelec.fr, 9960@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 05 13:55:28 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RMfmR-00045n-0E for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Nov 2011 13:55:27 +0100 Original-Received: from localhost ([::1]:43841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMfmQ-0001up-KO for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Nov 2011 08:55:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMfmN-0001uk-S9 for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 08:55:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RMfmM-00029J-Q5 for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 08:55:23 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMfmM-00029F-Mg for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 08:55:22 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RMfow-0004Wt-6H for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Scholtes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Nov 2011 12:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9960 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9960-submit@debbugs.gnu.org id=B9960.132049785617379 (code B ref 9960); Sat, 05 Nov 2011 12:58:02 +0000 Original-Received: (at 9960) by debbugs.gnu.org; 5 Nov 2011 12:57:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RMfoV-0004WF-Gi for submit@debbugs.gnu.org; Sat, 05 Nov 2011 08:57:36 -0400 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RMfoT-0004W8-G0 for 9960@debbugs.gnu.org; Sat, 05 Nov 2011 08:57:34 -0400 Original-Received: by ywt2 with SMTP id 2so3363011ywt.3 for <9960@debbugs.gnu.org>; Sat, 05 Nov 2011 05:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FQGRZq1A7RvzRv0WDfNvwq8PVLqrDDTtQxjcLtzZ7H4=; b=G1dJCtqoFdNWGtd7JPzqtPubEnlEkSxbtCSoK6J5V9UDFutfVMDFfRj4788G+LCWY2 N4szQhSNGoQWaKl5CfKLqSGE44YLB2w+7NJ+2EB+/FIdYMkuCj7MbwyxApgtH231ZNyK 78D31HcMgFgzajqSr/iv6SgArK9cG8xTekyE4= Original-Received: by 10.42.144.65 with SMTP id a1mr24824444icv.46.1320497692692; Sat, 05 Nov 2011 05:54:52 -0700 (PDT) Original-Received: from [192.168.1.4] (71-212-156-190.hlrn.qwest.net. [71.212.156.190]) by mx.google.com with ESMTPS id bu33sm28018308ibb.11.2011.11.05.05.54.51 (version=SSLv3 cipher=OTHER); Sat, 05 Nov 2011 05:54:51 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <83zkgakdby.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 05 Nov 2011 08:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53544 Archived-At: On 11/5/2011 5:39 AM, Eli Zaretskii wrote: >> Date: Sat, 05 Nov 2011 13:19:28 +0200 >> From: Eli Zaretskii >> Cc: 9960@debbugs.gnu.org >> >> What follows is discussion of some of the changes suggested by >> Fabrice, including the description of how they were adapted to the >> current trunk, and the diffs that will be actually committed shortly. > > Committed as revision 106292 on the trunk. I tried building with Visual Studio 2008 (Express Edition) and the build fails: cl -I. -nologo -D_X86_=1 -c -Zl -Zp8 -W2 -Od -Gd -Zi -DEMACSDEBUG -DENA BLE_CHECKING -DXASSERTS -I"D:/devel/emacs/libs/libXpm-3.5.8/include" -I"D:/devel /emacs/libs/libXpm-3.5.8/src" -I"D:/devel/emacs/libs/libpng-dev_1.4.3-1/include" -I"D:/devel/emacs/libs/zlib-dev_1.2.5-2/include" -I"D:/devel/emacs/libs/giflib- 4.1.4-1/include" -I"D:/devel/emacs/libs/jpeg-6b-4/include" -I"D:/devel/emacs/lib s/tiff-3.8.2-1/include" -I"D:/devel/emacs/libs/gnutls-2.10.1/include" -DHAVE_CON FIG_H=1 -I. -I../nt/inc -I../src -Foobj/i386\ md5.c sha1.c sha256.c sha512.c fil emode.c md5.c md5.c(259) : warning C4116: unnamed type definition in parentheses sha1.c sha1.c(74) : error C2054: expected '(' to follow 'inline' sha1.c(75) : error C2085: 'set_uint32' : not in formal parameter list sha1.c(75) : error C2143: syntax error : missing ';' before '{' sha1.c(246) : warning C4116: unnamed type definition in parentheses sha256.c sha256.c(93) : error C2054: expected '(' to follow 'inline' sha256.c(94) : error C2085: 'set_uint32' : not in formal parameter list sha256.c(94) : error C2143: syntax error : missing ';' before '{' sha256.c(378) : warning C4116: unnamed type definition in parentheses [...] (more errors after this) This is caused by `inline' keyword, which should be `__inline' for MSVC. I don't see any place where this would be defined for the W32 build. Am I missing something? Christoph