XEmacs or Gentoo error?

Mats Lidell matsl at xemacs.org
Thu Jun 7 18:14:37 EDT 2007


>>>>> Stephen wrote:

Stephen> Sure, but the point is that the Rawbyte* cast should have
Stephen> nearly identical effect to your cast.  It's a typedef for
Stephen> unsigned char *.

You are right. I can't recreate it now. I must have been carried
away. I'm sorry. In all my attempts now it compiles fine except for
the warning ...

emacs.c: In function 'int debug_can_access_memory(void*, Bytecount)':
emacs.c:3371: warning: statement has no effect

... and whether that is a problem or not is something completely
different.

Stephen> I wonder if my gcc is wonky; I would think there'd be a warning at
Stephen> least for the enum vs. int in objects-tty.c, where you patched it.
Stephen> But all I get is a bunch of warnings for unused variables.  What's
Stephen> your gcc --version?

gcc (GCC) 4.1.2 (Gentoo 4.1.2)

Stephen> BTW, after doing a make clean I get the same issue with LDAP
Stephen> you do, and your patch works.

I think this is as simple as that the interface used now is
depreated. See ...

  http://www.openldap.org/faq/data/cache/1278.html

Temporary workaround would be use the deprecated interface. Long term
solution is a rewrite.

Yours
-- 
%% Mats



More information about the XEmacs-Beta mailing list