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: Windows 64 port Date: Thu, 01 Mar 2012 19:45:28 +0200 Message-ID: <8362eocj0n.fsf@gnu.org> References: <20120219211800.0000558f@unknown> <834numv7js.fsf@gnu.org> <83ty2ltep0.fsf@gnu.org> <4F4EEBC2.5070704@cs.ucla.edu> <4F4F3A1A.4020808@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1330623835 3274 80.91.229.3 (1 Mar 2012 17:43:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2012 17:43:55 +0000 (UTC) Cc: fabrice.popineau@supelec.fr, emacs-devel@gnu.org, ajmr@ilovetortilladepatatas.com To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 01 18:43:53 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S3A2g-000061-Kl for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2012 18:43:50 +0100 Original-Received: from localhost ([::1]:44922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3A2g-0004Qa-3D for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2012 12:43:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3A2V-0004PT-7x for emacs-devel@gnu.org; Thu, 01 Mar 2012 12:43:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3A2G-00059i-R8 for emacs-devel@gnu.org; Thu, 01 Mar 2012 12:43:38 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:56415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3A2G-00059C-JM for emacs-devel@gnu.org; Thu, 01 Mar 2012 12:43:24 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M0700100VP24I00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 01 Mar 2012 19:43:19 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.228.20.191]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M07000B1VW6OGV0@a-mtaout23.012.net.il>; Thu, 01 Mar 2012 19:43:19 +0200 (IST) In-reply-to: <4F4F3A1A.4020808@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148860 Archived-At: > Date: Thu, 01 Mar 2012 00:58:02 -0800 > From: Paul Eggert > CC: Eli Zaretskii , ajmr@ilovetortilladepatatas.com, > emacs-devel@gnu.org > > On 02/29/2012 11:24 PM, Fabrice Popineau wrote: > > > For example, src/s/ms-w32.h can do something like this: > > > > /* Include before defining tzname, to avoid DLL clash. */ > > #include > > #define tzname _tzname > > > > This should avoid the diagnostic, since tzname isn't defined until > > after is included. > > > What you propose didn't work (resulting in either : some function > > returns an array, that is tzname, or _tzname being undefined at link > > time). > > Sorry, I don't follow. What exactly happens when you try the above > suggestion, and why? And what does this have to do with functions > returning arrays? The declaration of tzname on Windows is essentially (dropping some decorations that just obfuscate the essence) char *_tzname[2]; Anyway, there's no need for you to waste your time on this particular issue. I understand the issue very well, and will handle it, time permitting.