[Bug c++/80920] warnings get position wrong - very confusing
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Sep 17 23:11:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80920
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #3)
> (In reply to ensadc from comment #2)
> > 61940 ?
>
> bug 61940 is also about initializer lists, but the warning there is from
> -fpermissive and this one isn't controlled by any flag. Also the testcases
> are different. So I think the bugs can stay separate.
No, it's irrelevant what the diagnostic is, the point is that any diagnostic in
the mem-initializer-list has the wrong location (the end of the list). We don't
want to fix the locations for each diagnostic individually.
So this is a dup of bug 61940.
*** This bug has been marked as a duplicate of bug 61940 ***
More information about the Gcc-bugs
mailing list