GNU bug report logs -
#15880
Compute C declarations for DEFSYMs automatically.
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Wed, 13 Nov 2013 00:35:02 UTC
Severity: wishlist
Tags: patch
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 05 Jan 2015 14:20:01 -0800
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> CC: 15880 <at> debbugs.gnu.org
>
> On 01/05/2015 11:48 AM, Eli Zaretskii wrote:
> > I don't understand how this:
> >
> > #define lisp_h_XSYMBOL(a) \
> > (eassert (SYMBOLP (a)), \
> > (struct Lisp_Symbol *) XUNTAGBASE (a, Lisp_Symbol, lispsym))
> > # define XSYMBOL(a) lisp_h_XSYMBOL (a)
> >
> > and this:
> >
> > INLINE struct Lisp_Symbol *XSYMBOL (Lisp_Object);
> >
> > can live together. Can you explain?
>
> Ah, I see the problem now: I was compiling with optimization and you're
> not. I installed the attached patch to fix that. When optimizing,
> XSYMBOL is not defined as a macro.
Thanks, this fixed the problem for me.
This bug report was last modified 10 years and 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.