From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: Error when compiling CVS emacs on Mac OS snow leopard Date: Thu, 3 Sep 2009 13:32:30 -0700 (PDT) Organization: http://groups.google.com Message-ID: <19d8211f-eb1f-447b-8ee1-5a49d4ddb704@v15g2000prn.googlegroups.com> References: <6bc61d41-9cc3-49ef-bbd3-b301e4982cf2@l13g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1252041540 14433 80.91.229.12 (4 Sep 2009 05:19:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2009 05:19:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 04 07:18:53 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MjRCH-0006D9-1t for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Sep 2009 07:18:53 +0200 Original-Received: from localhost ([127.0.0.1]:39421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjRCG-0002N8-2v for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Sep 2009 01:18:52 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!v15g2000prn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 35 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1252009952 10159 127.0.0.1 (3 Sep 2009 20:32:32 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 3 Sep 2009 20:32:32 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v15g2000prn.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.43 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172691 comp.emacs:98693 X-Mailman-Approved-At: Fri, 04 Sep 2009 01:08:26 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67845 Archived-At: > I recently upgraded Mac OS X to Snow Leopard and tried to compile CVS > emacs; I get the following error: this thread will help: http://lists.gnu.org/archive/html/emacs-devel/2009-08/msg01401.html Xah =E2=88=91 http://xahlee.org/ =E2=98=84 On Sep 3, 4:34 am, ramblex wrote: > Hi, > I recently upgraded Mac OS X to Snow Leopard and tried to compile CVS > emacs; I get the following error: > > In file included from nsterm.h:20, > from nsterm.m:41: > dispextern.h:1250: error: array type has incomplete element type > > the compiler then comes up with a load of errors such as > nsterm.m: In function =E2=80=98ns_get_glyph_string_clip_rect=E2=80=99: > nsterm.m:2479: error: dereferencing pointer to incomplete type > > I configured with the following command: > ./configure --with-ns > > My gcc version is: > i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) > > Having tried to look at the source code it seems to be something to do > with NativeRectangle, which is defined as _NSRect in nsgui.h...I've > tried a few hacks but I don't know enough about how it all works. Any > ideas?