>>>> "SY" == Steve Youngs
<youngs(a)xemacs.org> writes:
> From latest CVS I'm getting:
SY> ,----
SY> | print.c: In function `print_internal':
SY> | print.c:1365: incompatible type for argument 3 of `signal_error'
SY> | make[1]: *** [print.o] Error 1
SY> `----
I think I understand why I don't see this myself - union type PLUS no
error checking.
Try this:
Index: src/print.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/src/print.c,v
retrieving revision 1.31
diff -u -w -r1.31 print.c
--- src/print.c 2001/05/25 02:57:34 1.31
+++ src/print.c 2001/05/25 08:13:18
@@ -1362,7 +1362,7 @@
/* We're in trouble if this happens! */
if (print_readably)
signal_error (Qinternal_error, "printing illegal data type #o%03o",
- (int) XTYPE (obj));
+ make_int (XTYPE (obj)));
write_c_string ("#<EMACS BUG: ILLEGAL DATATYPE ",
printcharfun);
sprintf (buf, "(#o%3o)", (int) XTYPE (obj));