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: "digsag at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2012 15:23:12 +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
--- Comment #3 from stfu&thnk <digsag at web dot de> 2012-01-03 15:23:12 UTC ---
(In reply to comment #1)
> as soon as you cast the .where pointer to some other type it converts to
> an rvalue. Use (knot*)&(....where) instead of &(knot *)(...where).
I don't know how the first one is non-valid C. seems valid in my eyes...