|
From: | Paul Eggert |
Subject: | bug#15880: Compute C declarations for DEFSYMs automatically. |
Date: | Mon, 05 Jan 2015 14:20:01 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
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.
0001-lisp.h-XSYMBOL-Parenthesize-id-in-forward-decl.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |