Bug with redefinition of register on ia64 architecture

Hans de Graaff graaff at gentoo.org
Mon Dec 11 11:08:56 EST 2006


On Sun, 10 Dec 2006 22:12:03 +0900, Stephen J. Turnbull wrote:

> Hans de Graaff writes:
> 
>  > I had a quick look in src/lisp.h myself, and I found it interesting to see
>  > that the code that is currently enabled is the DEBUG_XEMACS code.
> 
> I can't speak to the register problem at the moment.
> 
> Since --debug adds a small amount of code at very little cost in speed
> but a huge improvement in debuggability, it's enabled by default.  If
> you turn it off, in a significant minority of bugs in the C code you'll
> be told to turn it on, rebuild, and reproduce, or we can't help you.

My main concern is with the register issue, since this is causing real
problems, so it would be great if someone else could comment on that.

Regarding the debug issue: turning debugging on or off doesn't matter in
this case. Here's the relevant code from src/lisp.h:

/*#ifdef DEBUG_XEMACS*/
#define REGISTER
#define register
/*#else*/
/*#define REGISTER register*/
/*#endif*/

All the ifdef's are commented out, so suggesting that debugging to be
turned off as a workaround here won't work. All of this is from the 21.4
code, BTW.

Kind regards,

Hans




More information about the XEmacs-Beta mailing list