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:10:35 +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.

Can it be that GCC 4.2 and Apple clang version 2.0 (tags/Apple/clang-139) (based on LLVM 2.9svn) both mean the "return" operator?

At least me, I wouldn't bitwise AND an operator and an lvalue…

--
Greetings

  Pete

The human brain operates at only 10% of its capacity. The rest is overhead for the operating system.





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

Previous Next


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