GNU bug report logs - #13734
24.3.50; ../src/lisp.h:2485:10: error: address expression must be an lvalue or a function designator

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Sun, 17 Feb 2013 11:54:01 UTC

Severity: minor

Tags: moreinfo

Found in version 24.3.50

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 13734 <at> 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: Sun, 17 Feb 2013 17:15:36 +0100
Am 17.02.2013 um 14:19 schrieb Andreas Schwab:

>> 	return & XVECTOR (array)->contents[idx];
> 
> How so? XVECTOR (array)->contents[idx] is definitely an lvalue.

GCC 4.7.2 tells me more precisely:

	../src/lisp.h:2485:10: error: lvalue required as unary ‘&’ operand 

--
Mit friedvollen Grüßen

  Pete

Email is a wonderful thing for people whose role in life is to be on top of things. But not for me; my role is to be on the bottom of things. What I do takes long hours of studying and uninterruptible concentration.
				– Donald Knuth





This bug report was last modified 12 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.