From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Build failure on Windows using MSVC Date: Fri, 15 Aug 2008 15:50:35 +0300 Message-ID: References: <371102.90263.qm@web95005.mail.in2.yahoo.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1218804671 14707 80.91.229.12 (15 Aug 2008 12:51:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Aug 2008 12:51:11 +0000 (UTC) To: dhruva@ymail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 15 14:52:03 2008 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.50) id 1KTymU-0002P3-9e for ged-emacs-devel@m.gmane.org; Fri, 15 Aug 2008 14:51:50 +0200 Original-Received: from localhost ([127.0.0.1]:46417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTylY-0007ik-1G for ged-emacs-devel@m.gmane.org; Fri, 15 Aug 2008 08:50:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTylK-0007az-At for emacs-devel@gnu.org; Fri, 15 Aug 2008 08:50:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTylJ-0007aV-CK for emacs-devel@gnu.org; Fri, 15 Aug 2008 08:50:37 -0400 Original-Received: from [199.232.76.173] (port=49820 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTylJ-0007aQ-5r for emacs-devel@gnu.org; Fri, 15 Aug 2008 08:50:37 -0400 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:30267) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTylI-0004P5-HK for emacs-devel@gnu.org; Fri, 15 Aug 2008 08:50:36 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K5N0075B7OY4RC0@i_mtaout2.012.net.il> for emacs-devel@gnu.org; Fri, 15 Aug 2008 15:50:59 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:102487 Archived-At: > Date: Fri, 15 Aug 2008 12:31:13 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > Date: Fri, 15 Aug 2008 13:19:37 +0530 (IST) > > From: dhruva > > > > Build of Emacs from HEAD on WXP using MSVC 2003 fails due to redefinition of a structure MEMORYSTATUSEX. The following patch fixes the issue on WXP (W2K prof and upwards as that structure is available on W2K+). Need to test on older versions and I have no access to it. > > What is the exact error message emitted by Studio 2003? Is there > perhaps a compiler switch to avoid such an error? Is our definition > incompatible with what VS 2003 defines? > > I need the above information to come up with a suitable solution that > will work with all supported platforms and compiler versions. Someone > else compiled this CVS code with VS 6 and didn't have this problem, so > we need to find a solution that doesn't break versions of VS other > than yours. Actually, forget it, I think I found an easier way of fixing this. Could you please try the latest CVS and see if the problem is gone?