[Bug c++/58589] diagnostics: missing proper file:line on C++ compilation error

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 28 21:17:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58589

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> There's nothing showing the location of the "a = a" expression that requires
> the deleted Y::operator=(const Y&).

IMHO, the problem is the instantiation trace:

> j.cc:10:8:   required from here

does not show any useful location. It should show the location of "a = a"


More information about the Gcc-bugs mailing list