From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 19A36384B80F; Wed, 6 Jan 2021 13:11:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 19A36384B80F From: "anthonysharp15 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/17314] Error message wrongly shows declared rather than inherited access Date: Wed, 06 Jan 2021 13:11:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 3.4.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: anthonysharp15 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org 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, 06 Jan 2021 13:11:49 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D17314 --- Comment #23 from Anthony Sharp --- The patch is now on the mailing list (https://gcc.gnu.org/pipermail/gcc-patches/2021-January/562835.html). Please take my last comment with a pinch of salt ... I was mainly trying to= sum up what has already been said. There are plenty of people here who have much more knowledge than I do and if they say that something is the case, it probably is. Also just to be clear when I said that no-one uses virtual private inherita= nce, that obviously isn't strictly true. What I meant to say was that no one wou= ld realistically use a virtual private inheritance, and then try to derive ano= ther class from it, which is what the problem is.=