From: Eli Zaretskii <eliz@gnu.org>
To: Peter Dyballa <Peter_Dyballa@Freenet.DE>
Cc: schwab@linux-m68k.org, 13734@debbugs.gnu.org
Subject: bug#13734: 24.3.50; ../src/lisp.h:2485:10: error: address expression must be an lvalue or a function designator
Date: Sat, 02 Mar 2013 10:24:18 +0200 [thread overview]
Message-ID: <83fw0eus3x.fsf@gnu.org> (raw)
In-Reply-To: <DDB01E16-7628-4B70-A46B-F0FB3B2B2165@Freenet.DE>
> From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
> Date: Sat, 2 Mar 2013 00:25:41 +0100
> Cc: rgm@gnu.org,
> 13734@debbugs.gnu.org,
> schwab@linux-m68k.org
>
>
> Am 01.03.2013 um 21:27 schrieb Eli Zaretskii:
>
> > Can you post a cpp-preprocessed code of that line in lisp.h, when
> > configured --with-wide-int, from the compilation of a C source which
> > triggers the error (lwlib.c, I think)?
>
> I can't! In the middle of C pre-processing this happens:
>
> In file included from lwlib.c:24:
> ../src/lisp.h:3841:52: error: macro "EQ" requires 2 arguments, but only 1 given
> [...]
> This is the pre-processed function:
>
> static __attribute__ ((__unused__)) Lisp_Object *
> aref_addr (Lisp_Object array, ptrdiff_t idx)
> {
> return & (((void) (0 && ((((enum Lisp_Type) ((EMACS_UINT) ((array)) >> VALBITS)) == Lisp_Vectorlike)))), (struct Lisp_Vector *) ((gl_uintptr_t) (((array) & (9223372036854775807LL >> (3 - 1)))) | DATA_SEG_BITS)))->contents[idx];
> }
Thanks, this gave the crucial clue. (Your configuration uses a setup
where USE_LSB_TAG is not used, which I guess is something no one tried
in a long time.) There was a mismatch of parentheses in the
definition of XPNTR in that branch, which I believe caused these
problems. Please try the latest trunk, I hope I fixed this in
revision 111912.
next prev parent reply other threads:[~2013-03-02 8:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-17 11:48 bug#13734: 24.3.50; ../src/lisp.h:2485:10: error: address expression must be an lvalue or a function designator Peter Dyballa
2013-02-17 13:19 ` Andreas Schwab
2013-02-17 16:10 ` Peter Dyballa
2013-02-17 16:16 ` Andreas Schwab
2013-02-17 16:31 ` Peter Dyballa
2013-03-01 19:13 ` Peter Dyballa
2013-03-01 19:45 ` Glenn Morris
2013-03-01 20:06 ` Peter Dyballa
2013-03-01 20:27 ` Eli Zaretskii
2013-03-01 23:25 ` Peter Dyballa
2013-03-02 7:58 ` Andreas Schwab
2013-03-02 8:24 ` Eli Zaretskii [this message]
2013-03-02 8:39 ` Eli Zaretskii
2013-03-02 9:06 ` Eli Zaretskii
2013-03-02 16:26 ` Peter Dyballa
2013-03-02 17:01 ` Eli Zaretskii
2013-02-17 16:15 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83fw0eus3x.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13734@debbugs.gnu.org \
--cc=Peter_Dyballa@Freenet.DE \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.