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

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 2 17:19:00 GMT 2012


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

--- Comment #34 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-02 17:18:34 UTC ---
(In reply to comment #32)
> 
> Of course this may fail in some cases, like non-ANSI input, and not
> preprocessing, but it will work in 99% of the cases. In any case, it is not
> clear to me that we want to print the preprocessed line instead of the original
> text.

BTW, non-ANSI input may not even handled correctly by libcpp according to
PR49152, so I think we don't need to worry about it just now.



More information about the Gcc-bugs mailing list