[Bug c++/49152] Unhelpful diagnostic for iterator dereference

giecrilj at stegny dot 2a.pl gcc-bugzilla@gcc.gnu.org
Wed Sep 21 13:56:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49152

Christopher Yeleighton <giecrilj at stegny dot 2a.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giecrilj at stegny dot
                   |                            |2a.pl

--- Comment #1 from Christopher Yeleighton <giecrilj at stegny dot 2a.pl> 2011-09-21 13:17:44 UTC ---
To figure out what the types involved are, you can say 

(int &) first; (int &) val;

which would work most of the time.

However, this requires modifying the source and recompiling, which is such a
waste of time.



More information about the Gcc-bugs mailing list