This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61587] Line number of code that triggers "use of deleted function" error is absent from error message
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Jun 2014 17:08:20 +0000
- Subject: [Bug c++/61587] Line number of code that triggers "use of deleted function" error is absent from error message
- Auto-submitted: auto-generated
- References: <bug-61587-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61587
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your type's copy constructor is implicitly-declared, so there is no exact line
number to point to. That's why it points to the class definition at line 6