From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Compilation problems with latest MSVC Date: Fri, 29 Dec 2006 23:43:17 +0000 Message-ID: <4595A815.5060403@gnu.org> References: <4eb0089f0612281840x5f814fb1jd7c09e6182601e4f@mail.gmail.com> <4eb0089f0612281901o27849654k58dfaf73e73783d9@mail.gmail.com> <4595415F.1060708@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: sea.gmane.org 1167435856 3994 80.91.229.12 (29 Dec 2006 23:44:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 23:44:16 +0000 (UTC) Cc: emacs-devel@gnu.org, drobinow@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 30 00:44:15 2006 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 1H0ROU-0006QA-GM for ged-emacs-devel@m.gmane.org; Sat, 30 Dec 2006 00:44:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0ROU-0003MK-2d for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 18:44:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0RNi-0002yR-F1 for emacs-devel@gnu.org; Fri, 29 Dec 2006 18:43:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0RNh-0002xw-O1 for emacs-devel@gnu.org; Fri, 29 Dec 2006 18:43:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0RNh-0002xm-EF for emacs-devel@gnu.org; Fri, 29 Dec 2006 18:43:21 -0500 Original-Received: from [194.106.33.237] (helo=outmail1.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H0RNg-0004oA-2I; Fri, 29 Dec 2006 18:43:20 -0500 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 699CC53FCA; Fri, 29 Dec 2006 23:43:19 +0000 (GMT) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: Eli Zaretskii In-Reply-To: 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:64463 Archived-At: Eli Zaretskii wrote: > I think I solved that by having HAVE_TZNAME defined in src/s/ms-w32.h > only for versions of MSVC before 1400. If you think this is an okay > solution, I can dig out the patches (not that the above leaves any > place for doubt about the exact change). > That was enough to get to the crash while dumping, but since tzname is in the system headers, I think it is possible to find a better solution if we can make it work. The crash is happening within the initialization code before any Emacs code gets run (__tmainCRTStartup). This code is calling _free_internal, which we are redefining in gmalloc.c. I'm not sure if this can be fixed without some major changes, so I'm inclined to put it aside until after the release.