|--==> "MB" == Martin Buchholz <martin(a)xemacs.org> writes:
>>>>>"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> `----
MB> I think I understand why I don't see this myself - union type PLUS no
MB> error checking.
MB> Try this:
MB> Index: src/print.c
MB> ===================================================================
MB> RCS file: /usr/CVSroot/XEmacs/xemacs/src/print.c,v
MB> retrieving revision 1.31
MB> diff -u -w -r1.31 print.c
MB> --- src/print.c 2001/05/25 02:57:34 1.31
MB> +++ src/print.c 2001/05/25 08:13:18
MB> @@ -1362,7 +1362,7 @@
MB> /* We're in trouble if this happens! */
MB> if (print_readably)
MB> signal_error (Qinternal_error, "printing illegal data type #o%03o",
MB> - (int) XTYPE (obj));
MB> + make_int (XTYPE (obj)));
MB> write_c_string ("#<EMACS BUG: ILLEGAL DATATYPE ",
MB> printcharfun);
MB> sprintf (buf, "(#o%3o)", (int) XTYPE (obj));
Yes, that fixed the problem. Thanks, Martin.
--
|---<Steve Youngs>---------------<GnuPG KeyID: 9E7E2820>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|