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: Mon, 05 Jan 2015 20:56:36 +0200 Message-ID: <83lhlh83a3.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1420484293 24877 80.91.229.3 (5 Jan 2015 18:58:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2015 18:58:13 +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 Mon Jan 05 19:58:05 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 1Y8Cq1-0004rw-Uj for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jan 2015 19:57:14 +0100 Original-Received: from localhost ([::1]:33605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8Cq1-0002Hz-61 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Jan 2015 13:57:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8Cpx-0002Hb-VM for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 13:57:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8Cpq-0004Po-PP for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 13:57:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8Cpq-0004Pk-MR for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 13:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y8Cpq-000674-9N for bug-gnu-emacs@gnu.org; Mon, 05 Jan 2015 13:57: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: Mon, 05 Jan 2015 18:57: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.142048419523462 (code B ref 15880); Mon, 05 Jan 2015 18:57:02 +0000 Original-Received: (at 15880) by debbugs.gnu.org; 5 Jan 2015 18:56:35 +0000 Original-Received: from localhost ([127.0.0.1]:37777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y8CpO-00066M-9P for submit@debbugs.gnu.org; Mon, 05 Jan 2015 13:56:34 -0500 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:48284) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y8CpL-00066C-Ex for 15880@debbugs.gnu.org; Mon, 05 Jan 2015 13:56:32 -0500 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NHP00G00VOLSC00@mtaout27.012.net.il> for 15880@debbugs.gnu.org; Mon, 05 Jan 2015 20:48:45 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHP00IGHW99RR00@mtaout27.012.net.il>; Mon, 05 Jan 2015 20:48:45 +0200 (IST) In-reply-to: <54AAD51C.7020207@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:98050 Archived-At: > Date: Mon, 05 Jan 2015 10:17:00 -0800 > From: Paul Eggert > Cc: 15880-done@debbugs.gnu.org > > Thanks for the review. I'll try to think of a simpler way for MSB > hosts, though that isn't a high priority. I installed it and am marking > this as done. Did you try to build with --enable-checking? It fails to compile for me: In file included from dispnew.c:26:0: lisp.h:209:23: error: expected ')' before '||' token (suppress_checking || (cond) \ ^ lisp.h:360:5: note: in expansion of macro 'eassert' (eassert (SYMBOLP (a)), \ ^ lisp.h:405:21: note: in expansion of macro 'lisp_h_XSYMBOL' # define XSYMBOL(a) lisp_h_XSYMBOL (a) ^ lisp.h:612:28: note: in expansion of macro 'XSYMBOL' INLINE struct Lisp_Symbol *XSYMBOL (Lisp_Object); ^ lisp.h:360:26: error: expected ')' before ',' token (eassert (SYMBOLP (a)), \ ^ lisp.h:405:21: note: in expansion of macro 'lisp_h_XSYMBOL' # define XSYMBOL(a) lisp_h_XSYMBOL (a) ^ lisp.h:612:28: note: in expansion of macro 'XSYMBOL' INLINE struct Lisp_Symbol *XSYMBOL (Lisp_Object); ^ In file included from lisp.h:743:0, from dispnew.c:26: globals.h:1407:24: error: expected declaration specifiers or '...' before '(' token #define aQCloaded_from (&lispsym[70]) ^ globals.h:1408:41: note: in expansion of macro 'aQCloaded_from' #define QCloaded_from make_lisp_symbol (aQCloaded_from) ^ w32.h:175:20: note: in expansion of macro 'QCloaded_from' extern Lisp_Object QCloaded_from; ^ Makefile:354: recipe for target `dispnew.o' failed