From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15880: Compute C declarations for DEFSYMs automatically. Date: Tue, 06 Jan 2015 05:28:00 +0200 Message-ID: <837fx08u67.fsf@gnu.org> References: <5282C8F4.5010806@cs.ucla.edu> <5494D719.4040507@cs.ucla.edu> <5499FFF1.9050106@cs.ucla.edu> <54AAC905.1020906@cs.ucla.edu> <54AAD51C.7020207@cs.ucla.edu> <83lhlh83a3.fsf@gnu.org> <54AAE504.5090701@cs.ucla.edu> <83egr980v9.fsf@gnu.org> <54AB0E11.5050908@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1420514921 4472 80.91.229.3 (6 Jan 2015 03:28:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2015 03:28:41 +0000 (UTC) Cc: 15880@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 06 04:28:34 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y8KoV-0008Cj-2i for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jan 2015 04:28:11 +0100 Original-Received: from localhost ([::1]:34797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8KoU-0006sR-E8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jan 2015 22:28:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8KoP-0006sI-Pu for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 22:28:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8KoM-0000lO-I5 for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 22:28:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8KoM-0000lI-EI for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 22:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y8KoM-0003eb-6X for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 22:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jan 2015 03:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15880 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 15880-submit@debbugs.gnu.org id=B15880.142051487814033 (code B ref 15880); Tue, 06 Jan 2015 03:28:02 +0000 Original-Received: (at 15880) by debbugs.gnu.org; 6 Jan 2015 03:27:58 +0000 Original-Received: from localhost ([127.0.0.1]:37908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y8KoI-0003eG-3T for submit@debbugs.gnu.org; Mon, 05 Jan 2015 22:27:58 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:64268) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y8KoF-0003e6-7C for 15880@debbugs.gnu.org; Mon, 05 Jan 2015 22:27:56 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NHQ00C00K15WV00@a-mtaout20.012.net.il> for 15880@debbugs.gnu.org; Tue, 06 Jan 2015 05:27:53 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHQ00C9HKAHW420@a-mtaout20.012.net.il>; Tue, 06 Jan 2015 05:27:53 +0200 (IST) In-reply-to: <54AB0E11.5050908@cs.ucla.edu> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98061 Archived-At: > Date: Mon, 05 Jan 2015 14:20:01 -0800 > From: Paul Eggert > 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.