From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9960: Compiling Emacs trunk with MSVC Date: Sat, 05 Nov 2011 15:22:52 +0200 Message-ID: <83vcqyk8k3.fsf@gnu.org> References: <83sjy5279e.fsf@gnu.org> <8339e2lsu7.fsf@gnu.org> <83zkgakdby.fsf@gnu.org> <4EB5320F.5090800@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1320499472 13913 80.91.229.12 (5 Nov 2011 13:24:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2011 13:24:32 +0000 (UTC) Cc: fabrice.popineau@supelec.fr, 9960@debbugs.gnu.org To: Christoph Scholtes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 05 14:24:27 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 1RMgEV-00070X-FF for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Nov 2011 14:24:27 +0100 Original-Received: from localhost ([::1]:40583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMgEU-0004r6-Kh for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Nov 2011 09:24:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMgES-0004qZ-OL for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 09:24:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RMgER-0006ds-QJ for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 09:24:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMgER-0006do-NY for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 09:24:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RMgH1-0005B0-8D for bug-gnu-emacs@gnu.org; Sat, 05 Nov 2011 09:27:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Nov 2011 13:27: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.132049959019858 (code B ref 9960); Sat, 05 Nov 2011 13:27:02 +0000 Original-Received: (at 9960) by debbugs.gnu.org; 5 Nov 2011 13:26:30 +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 1RMgGU-0005AF-2m for submit@debbugs.gnu.org; Sat, 05 Nov 2011 09:26:30 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RMgGQ-0005A6-MC for 9960@debbugs.gnu.org; Sat, 05 Nov 2011 09:26:27 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LU600C00VM8YF00@a-mtaout23.012.net.il> for 9960@debbugs.gnu.org; Sat, 05 Nov 2011 15:23:44 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.70.69]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LU600CSYVVJY910@a-mtaout23.012.net.il>; Sat, 05 Nov 2011 15:23:44 +0200 (IST) In-reply-to: <4EB5320F.5090800@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 05 Nov 2011 09:27:03 -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:53546 Archived-At: > Date: Sat, 05 Nov 2011 06:54:39 -0600 > From: Christoph Scholtes > CC: fabrice.popineau@supelec.fr, 9960@debbugs.gnu.org > > 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? Does this patch give good results? === modified file 'nt/config.nt' --- nt/config.nt 2011-10-31 02:25:01 +0000 +++ nt/config.nt 2011-11-05 13:21:58 +0000 @@ -328,9 +328,13 @@ along with GNU Emacs. If not, see