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++/61587] Line number of code that triggers "use of deleted function" error is absent from error message


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


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