This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]