From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David Robinow" Newsgroups: gmane.emacs.devel Subject: Re: Compilation problems with latest MSVC Date: Thu, 28 Dec 2006 21:40:00 -0500 Message-ID: <4eb0089f0612281840x5f814fb1jd7c09e6182601e4f@mail.gmail.com> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167360022 1156 80.91.229.10 (29 Dec 2006 02:40:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 02:40:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 29 03:40:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1H07fN-0000A0-Hd for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 03:40:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H07fN-0001Gp-1X for ged-emacs-devel@m.gmane.org; Thu, 28 Dec 2006 21:40:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H07f8-0001Fk-Il for emacs-devel@gnu.org; Thu, 28 Dec 2006 21:40:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H07f7-0001FD-OA for emacs-devel@gnu.org; Thu, 28 Dec 2006 21:40:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H07f7-0001FA-Kq for emacs-devel@gnu.org; Thu, 28 Dec 2006 21:40:01 -0500 Original-Received: from [64.233.184.231] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H07f7-0001Kg-3k for emacs-devel@gnu.org; Thu, 28 Dec 2006 21:40:01 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i30so699055wra for ; Thu, 28 Dec 2006 18:40:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H+bAeWSxkIP5Ro94wj4QFDlXwkhPd3ehsqmUktN4m+0WmEHEaetYNshHmcxui+ni/40bUeFc8bIwdTm28tr/oxDEw9brHuLCFkQPF8vYwQ4KKrJtHp94GwNM3r0p2WMkmNNm9kllorSTddd27NBS7UEYlIqp2mIyDscBI9+bRDc= Original-Received: by 10.90.90.3 with SMTP id n3mr12157905agb.1167360000745; Thu, 28 Dec 2006 18:40:00 -0800 (PST) Original-Received: by 10.90.54.1 with HTTP; Thu, 28 Dec 2006 18:40:00 -0800 (PST) Original-To: "Eli Zaretskii" In-Reply-To: Content-Disposition: inline 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:64405 Archived-At: On 12/24/06, Eli Zaretskii wrote: > It seems like latest versions of MSVC are incompatible with the Emacs > build procedure (MSVC 6 compiles the current CVS just fine). See the > error messages below; this is with Visual Studio 2005 Express Edition, > the MS ``freeware'' distribution. > > I could try working on these when I have time, but the question is: do > we care? Is it enough to say that the last version of MSVC we support > is v6? (Does anyone know if Studio 7 is okay?) Both Visual Studio .NET and Visual Studio .NET 2003 work fine. I've been compiling Emacs with them both since they came out. There is a warning that debugtype:both is no longer supported. I don't remember which type it actually uses. As shown below, this warning became an error in Visual Studio 2005. > > >nmake bootstrap > > Microsoft (R) Program Maintenance Utility Version 7.00.8882 > Copyright (C) Microsoft Corp 1988-2000. All rights reserved. > > cl -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -nologo -D_X86_=1 -c -Zel -W2 -H63 -Oxsb2 -Oy- -G6dF -Zp8 -Zi -Di386 -D_CRTAPI1=_cdecl -Foobj-spd/i386\ addsection.c > cl : Command line warning D9035 : option 'Ze' has been deprecated and will be removed in a future release > cl : Command line warning D9035 : option 'H' has been deprecated and will be removed in a future release > cl : Command line warning D9002 : ignoring unknown option '-G6' > addsection.c > link -out:obj-spd/i386/addsection.exe -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj -debug:full -debugtype:both obj-spd/i386/addsection.obj libc.lib oldnames.lib user32.lib > LINK : warning LNK4224: /DEBUG:FULL is no longer supported; ignored > LINK : fatal error LNK1117: syntax error in option 'debugtype:both' > NMAKE : fatal error U1077: 'link' : return code '0x45d' > Stop. > > The compiler identifies itself as follows: > > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86 Visual Studio 6: Version 12.00.8168 MSC_VER == 1200 Linker version 6.00.8477 NMAKE_VER = 6.00.8168.0 Visual Studio .NET: Version 13.00.9466 Linker version 7.00.9466