Subject: bug#633: 23.0.60; doc/lispref//os.texi faulty + declaration mismatch

From: Peter Dyballa <[email-masked]>
Date: Thu, 31 Jul 2008 11:12:59 +0200

Hello!

Compilation stops because of:

	cd .../emacs/doc/lispref; makeinfo --force -I. -I../../info  
elisp.texi -o ../../info/elisp
	.../emacs/doc/lispref//os.texi:671: `@end' expected `defvar', but  
saw `table'.
	make[3]: *** [../../info/elisp] Error 1
	make[3]: Target `info' not remade because of errors.
	make[2]: [info-real] Error 2 (ignored)

and much later:

	gcc -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX  -no-cpp- 
precomp -I/sw/include -I/usr/local/include -idirafter /usr/X11R6/ 
include -Demacs -DHAVE_CONFIG_H  -I. -I/Users/pete/Quellen/Emacs_CVS/ 
emacs/src -fpascal-strings -DMAC_OSX -I/usr/X11R6/include -I/sw/lib/ 
fontconfig2/include -I/usr/X11R6/include -I/usr/X11R6/include/ 
freetype2 -Dtemacs  -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include  
-I/sw/include/orbit-2.0 -I/sw/include/gconf/2 -I/sw/include/gtk-2.0 - 
I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/ 
include -I/sw/include/librsvg-2 -DORBIT2=1 -I/sw/include/dbus-1.0 -I/ 
sw/lib/dbus-1.0/include -ggdb -gfull -H -Wno-pointer-sign - 
bind_at_load -pipe -fPIC -mcpu=7450 -mtune=7450 -mno-powerpc64 -O - 
mpim-altivec -ftree-vectorize -fno-crossjumping -I/sw/lib/freetype219/ 
include/freetype2 -I/sw/lib/freetype219/include -I/sw/include xfns.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/stdio.h
	. /usr/include/math.h
	.. /usr/include/architecture/ppc/math.h
	. /usr/include/unistd.h
	.. /usr/include/sys/unistd.h
	.. /usr/include/sys/select.h
	... /usr/include/sys/types.h
	... /usr/include/signal.h
	... /usr/include/sys/time.h
	.... /usr/include/time.h
	..... /usr/include/machine/_limits.h
	...... /usr/include/ppc/_limits.h
	. lisp.h
	. xterm.h
	.. /usr/include/X11/Xlib.h
	... /usr/include/X11/X.h
	... /usr/include/X11/Xfuncproto.h
	... /usr/include/X11/Xosdefs.h
	... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h
	.. /usr/include/X11/cursorfont.h
	.. /usr/include/X11/keysym.h
	... /usr/include/X11/keysymdef.h
	.. /usr/include/X11/Xutil.h
	.. /usr/include/X11/Xatom.h
	.. /usr/include/X11/Xresource.h
	.. /usr/include/X11/StringDefs.h
	.. /usr/include/X11/IntrinsicP.h
	... /usr/include/X11/Intrinsic.h
	.... /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h
	.... /usr/include/X11/Core.h
	.... /usr/include/X11/Composite.h
	.... /usr/include/X11/Constraint.h
	.... /usr/include/X11/Object.h
	.... /usr/include/X11/RectObj.h
	... /usr/include/X11/CoreP.h
	... /usr/include/X11/CompositeP.h
	... /usr/include/X11/ConstrainP.h
	... /usr/include/X11/ObjectP.h
	... /usr/include/X11/RectObjP.h
	.. /usr/include/X11/Xlocale.h
	... /usr/include/locale.h
	.... /usr/include/_locale.h
	. frame.h
	.. dispextern.h
	. window.h
	. buffer.h
	. intervals.h
	.. composite.h
	. keyboard.h
	.. systime.h
	.. coding.h
	. blockinput.h
	.. atimer.h
	. ./epaths.h
	. character.h
	. charset.h
	. fontset.h
	. termhooks.h
	. termchar.h
	. font.h
	.. ccl.h
	. /usr/include/ctype.h
	.. /usr/include/runetype.h
	. /usr/include/sys/stat.h
	. bitmaps/gray.xbm
	. /usr/include/X11/Shell.h
	.. /usr/include/X11/SM/SMlib.h
	... /usr/include/X11/SM/SM.h
	... /usr/include/X11/ICE/ICElib.h
	.... /usr/include/X11/ICE/ICE.h
	. /sw/include/X11/Xaw3d/Paned.h
	.. /usr/include/X11/Xmu/Converters.h
	. /sw/include/X11/Xaw3d/Label.h
	.. /sw/include/X11/Xaw3d/Xaw3dP.h
	.. /sw/include/X11/Xaw3d/Simple.h
	. /usr/include/X11/Xos.h
	.. /usr/include/fcntl.h
	... /usr/include/sys/fcntl.h
	.. /usr/include/X11/Xarch.h
	. widget.h
	. ../lwlib/lwlib.h
	xfns.c:576: error: conflicting types for ‘x_set_frame_alpha’
	xterm.h:388: error: previous declaration of ‘x_set_frame_alpha’ was  
here
	. /usr/include/X11/XKBlib.h
	.. /usr/include/X11/extensions/XKBstr.h
	... /usr/include/X11/extensions/XKB.h
	. /usr/include/X11/keysym.h
	.. /usr/include/X11/keysymdef.h
	{standard input}:103:non-relocatable subtraction expression,  
"_x_in_use" minus "L00000000002$pb"
	{standard input}:103:symbol: "_x_in_use" can't be undefined in a  
subtraction expression
	{standard input}:102:non-relocatable subtraction expression,  
"_x_in_use" minus "L00000000002$pb"
	{standard input}:102:symbol: "_x_in_use" can't be undefined in a  
subtraction expression
	{standard input}:74:non-relocatable subtraction expression,  
"_x_in_use" minus "L00000000001$pb"
	{standard input}:74:symbol: "_x_in_use" can't be undefined in a  
subtraction expression
	{standard input}:73:non-relocatable subtraction expression,  
"_x_in_use" minus "L00000000001$pb"
	{standard input}:73:symbol: "_x_in_use" can't be undefined in a  
subtraction expression
	make[2]: *** [xfns.o] Error 1

This, x_set_frame_alpha, could be due to having integrated the  
transparency patches ...

xfns.c has: extern void x_set_frame_alpha P_ ((struct frame *, int));
xterm.h has: extern void x_set_frame_alpha P_ ((struct frame *));

xterm.h is from Wednesday night, xfns.c is from this morning.

--
Greetings

   Pete

There's no sense in being precise when you don't even know what  
you're talking about.
				– John von Neumann