Mats Lidell writes:
>> + memcmp (ptr, ((char*)ptr + 1), len - 1);
Stephen> This is bad; AFAIK Rawbyte is a typedef for char. That may not be
Stephen> true for C++, in which case this might need to be conditionally
Stephen> compiled for C++.
ptr is void.
Sure, but the point is that the Rawbyte* cast should have nearly
identical effect to your cast. It's a typedef for unsigned char *.
What was the exact error message that you got? Does a cast to
CRawbyte work?
I wonder if my gcc is wonky; I would think there'd be a warning at
least for the enum vs. int in objects-tty.c, where you patched it.
But all I get is a bunch of warnings for unused variables. What's
your gcc --version?
BTW, after doing a make clean I get the same issue with LDAP you do,
and your patch works.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta