Subject: 23.1.50; src/xterm.c does not compile

From: Peter Dyballa <[email-masked]>
Date: Mon, 27 Jul 2009 21:43:55 +0200

Hello!

gcc -c  -Demacs -DHAVE_CONFIG_H  -I. -I/Users/pete/Quellen/Emacs_CVS/ 
emacs/src -I/opt/local/include/X11 -I/opt/local/include -I/opt/local/ 
include/freetype2 -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 -ggdb -gfull -mtraceback=full -Wno-pointer-sign -H - 
pipe -fPIC -mcpu=7450 -mtune=7450 -fast -maltivec -mpim-altivec - 
mabi=altivec -ftree-vectorize -foptimize-register-move -fthread-jumps  
-fpeephole -fno-crossjumping -I/opt/local/include/freetype2 -I/opt/ 
local/include xterm.c
. ./config.h
.. ./s/darwin.h
.. ./m/macppc.h
.. /usr/include/string.h
... /usr/include/_types.h
.... /usr/include/sys/_types.h
..... /usr/include/sys/cdefs.h
..... /usr/include/machine/_types.h
...... /usr/include/ppc/_types.h
.. /usr/include/strings.h
.. /usr/include/stdlib.h
... /usr/include/sys/wait.h
.... /usr/include/sys/signal.h
..... /usr/include/sys/appleapiopts.h
..... /usr/include/machine/signal.h
...... /usr/include/ppc/signal.h
.... /usr/include/sys/resource.h
.... /usr/include/machine/endian.h
..... /usr/include/ppc/endian.h
...... /usr/include/sys/_endian.h
....... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stdint.h
....... /usr/include/libkern/OSByteOrder.h
........ /usr/include/libkern/ppc/OSByteOrder.h
... /usr/include/alloca.h
... /usr/include/machine/types.h
.... /usr/include/ppc/types.h
. /usr/include/signal.h
. /usr/include/stdio.h
. lisp.h
. blockinput.h
.. atimer.h
... systime.h
.... /usr/include/sys/time.h
..... /usr/include/time.h
...... /usr/include/machine/_limits.h
....... /usr/include/ppc/_limits.h
. syssignal.h
. xterm.h
.. /opt/local/include/X11/Xlib.h
... /usr/include/sys/types.h
... /opt/local/include/X11/X.h
... /opt/local/include/X11/Xfuncproto.h
... /opt/local/include/X11/Xosdefs.h
... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h
.. /opt/local/include/X11/cursorfont.h
.. /opt/local/include/X11/keysym.h
... /opt/local/include/X11/keysymdef.h
.. /opt/local/include/X11/Xutil.h
... /opt/local/include/X11/keysym.h
.... /opt/local/include/X11/keysymdef.h
.. /opt/local/include/X11/Xatom.h
.. /opt/local/include/X11/Xresource.h
.. /opt/local/include/X11/StringDefs.h
.. /opt/local/include/X11/IntrinsicP.h
... /opt/local/include/X11/Intrinsic.h
.... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h
.... /opt/local/include/X11/Core.h
.... /opt/local/include/X11/Composite.h
.... /opt/local/include/X11/Constraint.h
.... /opt/local/include/X11/Object.h
.... /opt/local/include/X11/RectObj.h
... /opt/local/include/X11/CoreP.h
... /opt/local/include/X11/CompositeP.h
... /opt/local/include/X11/ConstrainP.h
... /opt/local/include/X11/ObjectP.h
... /opt/local/include/X11/RectObjP.h
.. /opt/local/include/X11/Xlocale.h
... /usr/include/locale.h
.... /usr/include/_locale.h
. /usr/include/sys/ioctl.h
.. /usr/include/sys/ttycom.h
... /usr/include/sys/ioccom.h
.. /usr/include/sys/filio.h
.. /usr/include/sys/sockio.h
. /usr/include/fcntl.h
.. /usr/include/sys/fcntl.h
. /usr/include/ctype.h
.. /usr/include/runetype.h
. /usr/include/errno.h
.. /usr/include/sys/errno.h
. /usr/include/setjmp.h
.. /usr/include/machine/setjmp.h
... /usr/include/ppc/setjmp.h
. /usr/include/sys/stat.h
. charset.h
. character.h
. coding.h
.. composite.h
. frame.h
.. dispextern.h
. fontset.h
. termhooks.h
. termopts.h
. termchar.h
. emacs-icon.h
. disptab.h
. buffer.h
. window.h
. keyboard.h
. intervals.h
. process.h
.. /usr/include/unistd.h
... /usr/include/sys/unistd.h
... /usr/include/sys/select.h
. keymap.h
. font.h
.. ccl.h
. /opt/local/include/X11/Shell.h
.. /opt/local/include/X11/SM/SMlib.h
... /opt/local/include/X11/SM/SM.h
... /opt/local/include/X11/ICE/ICElib.h
.... /opt/local/include/X11/ICE/ICE.h
. /opt/local/include/X11/Xaw3d/Simple.h
.. /opt/local/include/X11/Xaw3d/Xaw3dP.h
.. /opt/local/include/X11/Xmu/Converters.h
. /opt/local/include/X11/Xaw3d/Scrollbar.h
. /opt/local/include/X11/Xaw3d/ThreeD.h
. widget.h
xterm.c: In function ‘x_term_init’:
xterm.c:10180: error: dereferencing pointer to incomplete type
make[2]: *** [xterm.o] Error 1

	10177	#ifdef HAVE_XRMSETDATABASE
	10178	  XrmSetDatabase (dpyinfo->display, xrdb);
	10179	#else
	10180	  dpyinfo->display->db = xrdb;
	10181	#endif
	10182	  /* Put the rdb where we can find it in a way that works on
	10183	     all versions.  */
	10184	  dpyinfo->xrdb = xrdb;
	10185	

--
Greetings

   Pete

Mac OS X is like a wigwam: no fences, no gates, but an apache inside.