[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=80858 --- Comment #7 from Jonathan Wakely --- Maybe a closer dup of PR 106176 (but I think that's a dup of PR 80858). *** This bug has been marked as a duplicate of bug 106176 ***
[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #6 from Jonathan Wakely --- I think this is another dup of PR 80858. When the copy constructor is implicit defined there is no line number, and the diagnostic is unhelpful. *** This bug has been marked as a duplicate of bug 80858 ***
[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 --- Comment #5 from Devourer Station --- (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
[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 --- Comment #4 from Andrew Pinski --- Actually clang references the call: f(cl); When it comes to the copy constructor.
[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #3 from Andrew Pinski --- clang prints out the similar message (even with libc++).
[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 --- Comment #2 from Devourer Station --- Created attachment 53437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53437&action=edit compiler's output
[Bug c++/106584] g++ not showing correct line number in "use of deleted function" error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106584 --- Comment #1 from Devourer Station --- Created attachment 53436 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53436&action=edit Preprocessed source file compile with g++ example.cpp -c