bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15880: Compute C declarations for DEFSYMs automatically.


From: Eli Zaretskii
Subject: bug#15880: Compute C declarations for DEFSYMs automatically.
Date: Tue, 06 Jan 2015 05:28:00 +0200

> Date: Mon, 05 Jan 2015 14:20:01 -0800
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> 
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]