[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 <eggert@cs.ucla.edu>
> CC: 15880@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.
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2015/01/05
- bug#15880: Compute C declarations for DEFSYMs automatically.,
Eli Zaretskii <=
- bug#15880: Compute C declarations for DEFSYMs automatically., Glenn Morris, 2015/01/07
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2015/01/07
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2015/01/08
- bug#15880: Compute C declarations for DEFSYMs automatically., Paul Eggert, 2015/01/09
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2015/01/09
- bug#15880: Compute C declarations for DEFSYMs automatically., Andreas Schwab, 2015/01/09
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2015/01/09
- bug#15880: Compute C declarations for DEFSYMs automatically., Andreas Schwab, 2015/01/09
- bug#15880: Compute C declarations for DEFSYMs automatically., Stefan Monnier, 2015/01/09
- bug#15880: Compute C declarations for DEFSYMs automatically., Eli Zaretskii, 2015/01/10