From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104768 invoked by alias); 27 Apr 2015 17:32:09 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 104740 invoked by uid 48); 27 Apr 2015 17:32:05 -0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/65906] using-declaration allowed for non-direct base class Date: Mon, 27 Apr 2015 17:32:00 -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: 4.8.2 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg02313.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65906 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid Status|UNCONFIRMED |NEW Last reconfirmed| |2015-04-27 Ever confirmed|0 |1 --- Comment #2 from Jonathan Wakely --- (In reply to Daniel Adamski from comment #0) > Possible duplicate: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32039 Maybe, but there is a specific rule regarding inheriting constructors that applies here and not for 32039, in [namespace.udecl]/3: If such a using-declaration names a constructor, the nested-name-specifier shall name a direct base class of the class being defined;