[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error

accelerator0099 at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 12 06:52:14 GMT 2022


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

--- Comment #5 from Devourer Station <accelerator0099 at gmail dot com> ---
(In reply to Andrew Pinski from comment #4)
> Actually clang references the call:
> f(cl);
> 
> When it comes to the copy constructor.

At least it tells you about where the error is, otherwise you may fall into
thousands of lines of source code without knowing where to edit


More information about the Gcc-bugs mailing list