all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ramblex <alexduller@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Error when compiling CVS emacs on Mac OS snow leopard
Date: Thu, 3 Sep 2009 04:34:09 -0700 (PDT)	[thread overview]
Message-ID: <6bc61d41-9cc3-49ef-bbd3-b301e4982cf2@l13g2000yqb.googlegroups.com> (raw)

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 ‘ns_get_glyph_string_clip_rect’:
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?



             reply	other threads:[~2009-09-03 11:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 11:34 ramblex [this message]
2009-09-03 20:32 ` Error when compiling CVS emacs on Mac OS snow leopard Xah Lee
2009-09-04 19:39 ` Mark Dickinson
2009-09-05  7:05   ` CHENG Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6bc61d41-9cc3-49ef-bbd3-b301e4982cf2@l13g2000yqb.googlegroups.com \
    --to=alexduller@googlemail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.