This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51741] complicatet brakets wont compile
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2012 15:18:34 +0000
- Subject: [Bug c/51741] complicatet brakets wont compile
- Auto-submitted: auto-generated
- References: <bug-51741-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51741
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-03 15:18:34 UTC ---
as soon as you cast the .where pointer to some other type it converts to
an rvalue. Use (knot*)&(....where) instead of &(knot *)(...where).