From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0723F389365D; Wed, 22 Jul 2020 13:57:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0723F389365D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1595426232; bh=GfDmSl449ukaSoby5eFTB0HWGxr19+eBhY0m7r/EkrE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Mtz9xUA2mjRxnHnvR2GGGkfUxw/bM0RC14NuMBjikwlfATMuGN1h4OiW1r5Tt3xGQ PNPBpvWsrfDnOPrEqfysclBp0kvcmNAACsCwLlBPMrqBHg+I55xbQhAnf3L7W9wJsL 0GW8nhIS1wCxTC7EjjkPqEAJgUb5DxV7pp2f3e7Q= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/42540] c++ error message [vtable undefined] is unhelpful Date: Wed, 22 Jul 2020 13:57:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.5.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jyasskin at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2020 13:57:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D42540 --- Comment #13 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #3) > The linker error alone doesn't make the root cause obvious, but it's a > fairly well known and well documented problem: > http://www.parashift.com/c++-faq-lite/strange-inheritance.html#faq-23.10 A better link is now: https://gcc.gnu.org/wiki/VerboseDiagnostics#undefined_reference_to_vtable_f= or_X=