All source other than select-x.c builds. That one fails with the following
error involving a complex macro:
gcc -c -w -g -Os -Demacs -I. -DHAVE_CONFIG_H -I/opt/local/include -I/usr/X11R6/include
select-x.c
select-x.c: In function `x_reply_selection_request':
select-x.c:532: error: invalid type argument of `->'
make: *** [select-x.o] Error 1
The line causing the error:
Widget widget = FRAME_X_TEXT_WIDGET (DEVICE_SELECTED_FRAME(d));
which cpp expands to
Widget widget = (((struct x##_frame *)
(((d)->selected_frame))->frame_data)->edit_widget);
This line is new to the file.
cvs diff -D 2005-02-26 -U 0 src/select-x.c
Index: src/select-x.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/select-x.c,v
retrieving revision 1.17
diff -U0 -r1.17 select-x.c
--- src/select-x.c 2005/01/24 23:34:09 1.17
+++ src/select-x.c 2005/02/28 23:29:17
[...]
@@ -523,0 +532 @@
+ Widget widget = FRAME_X_TEXT_WIDGET (DEVICE_SELECTED_FRAME(d));
@@ -526 +535,2 @@
- invalid_operation ("attempt to transfer an INCR to ourself!", Qunbound);
+ invalid_operation ("attempt to transfer an INCR to ourself!",
+ Qunbound);
Here is the working configuration:
uname -a: Darwin
grendal.frinabulax.org 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22
14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc
./configure '--with-mule' '--with-widgets=athena'
'--with-athena=3d'
'--with-dialogs=athena' '--with-scrollbars=lucid'
'--error-checking=none'
'--site-libraries=/opt/local/lib:/usr/X11R6/lib:/usr/lib' '--debug=no'
'--site-runtime-libraries=/opt/local/lib:/usr/X11R6/lib:/usr/lib'
'--package-path=/Users/royar/usr/local/lib/xemacs/xemacs-packages:/Users/royar/usr/local/lib/xemacs/mule-packages'
'--cflags-warning=-w' '--prefix=/Users/royar/usr/local'
'--with-prefix'
'--with-png' '--with-jpeg' '--with-tiff' '--cflags= -Os'
'--pdump'
'--with-xmu' '--with-xim=no' '--with-sound=esd'
'--with-xfs=no'
'--use-number-lib=gmp' '--use-union-type' '--dynamic=yes'
XEmacs 21.5-b19 "chives" (+CVS-20050226) configured for
`powerpc-apple-darwin7.8.0'.
Removing '--use-union-type' does not change the outcome.
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky