unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Build failure on macosx -- possibly gcc bug?
@ 2009-10-19 21:56 Harald Hanche-Olsen
  2009-10-19 21:58 ` Build failure on macosx Harald Hanche-Olsen
  2009-10-19 22:35 ` Build failure on macosx -- possibly gcc bug? Dan Nicolaescu
  0 siblings, 2 replies; 3+ messages in thread
From: Harald Hanche-Olsen @ 2009-10-19 21:56 UTC (permalink / raw)
  To: emacs-devel

This is the result of make bootstrap after configure --with-ns
(after a git pull):

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/local/src/emacs/emacs-git/src -I/usr/X11/include -Dtemacs  -I/opt/local/include/librsvg-2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -g -O2 -Wno-pointer-sign   image.c
In file included from image.c:42:
lisp.h:1854: error: syntax error before ‘jmp_buf’
lisp.h:1854: warning: no semicolon at end of struct or union

Apparently, image.c needs to #include <setjmp.h> before "lisp.h", which
it doesn't. Inserting such a line near the top of src/image.c seems to
have fixed the problem.

- Harald




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

* Re: Build failure on macosx
  2009-10-19 21:56 Build failure on macosx -- possibly gcc bug? Harald Hanche-Olsen
@ 2009-10-19 21:58 ` Harald Hanche-Olsen
  2009-10-19 22:35 ` Build failure on macosx -- possibly gcc bug? Dan Nicolaescu
  1 sibling, 0 replies; 3+ messages in thread
From: Harald Hanche-Olsen @ 2009-10-19 21:58 UTC (permalink / raw)
  To: emacs-devel

Um, forget about the "-- possibly gcc bug?" part of the subject.
I put that there because the poor quality of the gcc error message had
me looking for the problem in the wrong place, and I thought indeed it
was a gcc bug. I discovered my mistake before posting, but forgot to
add the subject line.

- Harald




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

* Re: Build failure on macosx -- possibly gcc bug?
  2009-10-19 21:56 Build failure on macosx -- possibly gcc bug? Harald Hanche-Olsen
  2009-10-19 21:58 ` Build failure on macosx Harald Hanche-Olsen
@ 2009-10-19 22:35 ` Dan Nicolaescu
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2009-10-19 22:35 UTC (permalink / raw)
  To: Harald Hanche-Olsen; +Cc: emacs-devel

Harald Hanche-Olsen <hanche@math.ntnu.no> writes:

  > This is the result of make bootstrap after configure --with-ns
  > (after a git pull):
  > 
  > gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/local/src/emacs/emacs-git/src -I/usr/X11/include -Dtemacs  -I/opt/local/include/librsvg-2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -g -O2 -Wno-pointer-sign   image.c
  > In file included from image.c:42:
  > lisp.h:1854: error: syntax error before ‘jmp_buf’
  > lisp.h:1854: warning: no semicolon at end of struct or union

This should be fixed now.




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

end of thread, other threads:[~2009-10-19 22:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-19 21:56 Build failure on macosx -- possibly gcc bug? Harald Hanche-Olsen
2009-10-19 21:58 ` Build failure on macosx Harald Hanche-Olsen
2009-10-19 22:35 ` Build failure on macosx -- possibly gcc bug? Dan Nicolaescu

Code repositories for project(s) associated with this public inbox

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

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).