[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: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
- Date: Thu, 25 Aug 2022 09:17:46 +0000
- Message-id: <bug-42540-5724-4RmYJlEnwG@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 #24 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
For completeness, this is what LLD says:
ld.lld: error: undefined symbol: vtable for A
>>> referenced by example.cpp:7
>>> /tmp/example-5d8b98.o:(A::A())
>>> the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction)
which seems better.
--
You are receiving this mail because:
You reported the bug.
Reply to: