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: bookkeeping to prepare for a 64-bit EMACS_INT on 32-bit hosts Date: Fri, 29 Apr 2011 12:17:37 +0300 Message-ID: <83iptx76xa.fsf@gnu.org> References: <4DBA71FB.5090900@cs.ucla.edu> <83mxj97889.fsf@gnu.org> <4DBA7F87.5040609@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1304068741 29402 80.91.229.12 (29 Apr 2011 09:19:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2011 09:19:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 29 11:18:56 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QFjqi-0003Uu-Fe for ged-emacs-devel@m.gmane.org; Fri, 29 Apr 2011 11:18:56 +0200 Original-Received: from localhost ([::1]:59377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFjqf-0006K8-MG for ged-emacs-devel@m.gmane.org; Fri, 29 Apr 2011 05:18:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFjqa-0006Jr-3g for emacs-devel@gnu.org; Fri, 29 Apr 2011 05:18:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFjqY-0006Ct-Sv for emacs-devel@gnu.org; Fri, 29 Apr 2011 05:18:48 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:59475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFjqY-0006Ca-Md for emacs-devel@gnu.org; Fri, 29 Apr 2011 05:18:46 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LKE00L00PL0M400@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 29 Apr 2011 12:17:38 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.126.167]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LKE00LLBPTDE450@a-mtaout22.012.net.il>; Fri, 29 Apr 2011 12:17:38 +0300 (IDT) In-reply-to: <4DBA7F87.5040609@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.172 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:138891 Archived-At: > Date: Fri, 29 Apr 2011 02:06:15 -0700 > From: Paul Eggert > Cc: emacs-devel@gnu.org > > The name "intptr" may be a bit confusing to a reader who doesn't > know C99, but once you're used to the standard meaning, any other name > would sound weird. I'll let others chime in if they want. If it's just me that is confused, I guess I'll survive this culture shock. > > When you do that, please don't hardwire "long long" for the 32+64-bit > > builds. That type is not standard enough in C90; in particular the > > MSVC compiler we still support for Windows doesn't have it, but it > > does have compatible __int64 and __uint64 types. > > Thanks, I hadn't thought of that. Before I got your email I already > sent out a simple patch > > that did not use __int64 (so it continued to use 32-bit int on > Windows). I will look into extending that patch, so that it also works with > __int64. Thanks.