[Bug other/42540] c++ error message [vtable undefined] is unhelpful
- To: debian-gcc@lists.debian.org
- Subject: [Bug other/42540] c++ error message [vtable undefined] is unhelpful
- From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
- Date: Wed, 22 Jul 2020 13:56:23 +0000
- Message-id: <bug-42540-5724-Y7xF5O7tTk@http.gcc.gnu.org/bugzilla/>
- In-reply-to: <bug-42540-5724@http.gcc.gnu.org/bugzilla/>
- References: <bug-42540-5724@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42540
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Zhihao Yuan from comment #11)
> 1. Adjust the error message to say, "The first non-inline, non-pure function
> may not have a definition in <Class>."
That error comes from the linker. The linker is not part of GCC, so this is the
wrong place to ask for linker changes.
> 2. Add extra information to name the key function, and pass it to the
> linker, generate an error message to match MSVC's quality.
That's what comment 7 suggested. Comment 10 links to the response to that.
--
You are receiving this mail because:
You reported the bug.
Reply to: