unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Error when compiling CVS emacs on Mac OS snow leopard
@ 2009-09-03 11:34 ramblex
  2009-09-03 20:32 ` Xah Lee
  2009-09-04 19:39 ` Mark Dickinson
  0 siblings, 2 replies; 4+ messages in thread
From: ramblex @ 2009-09-03 11:34 UTC (permalink / raw)
  To: help-gnu-emacs

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?



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-05  7:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-03 11:34 Error when compiling CVS emacs on Mac OS snow leopard ramblex
2009-09-03 20:32 ` Xah Lee
2009-09-04 19:39 ` Mark Dickinson
2009-09-05  7:05   ` CHENG Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).