From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ramblex Newsgroups: gmane.emacs.help Subject: Error when compiling CVS emacs on Mac OS snow leopard Date: Thu, 3 Sep 2009 04:34:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6bc61d41-9cc3-49ef-bbd3-b301e4982cf2@l13g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1251978310 27742 80.91.229.12 (3 Sep 2009 11:45:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2009 11:45:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 03 13:45:03 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 1MjAkR-0008Nm-6J for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2009 13:45:03 +0200 Original-Received: from localhost ([127.0.0.1]:48816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjAkQ-0002mP-48 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Sep 2009 07:45:02 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!l13g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 88.105.90.113 Original-X-Trace: posting.google.com 1251977653 30501 127.0.0.1 (3 Sep 2009 11:34:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 3 Sep 2009 11:34:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l13g2000yqb.googlegroups.com; posting-host=88.105.90.113; posting-account=dU3olgoAAACE0q1XStqvqJiZfqljhVyh User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172657 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:67793 Archived-At: 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 =91ns_get_glyph_string_clip_rect=92: 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?