[Bug c++/65906] using-declaration allowed for non-direct base class
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65906 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |7.0 --- Comment #3 from Andrew Pinski --- This was fixed with r7-4255: Implement P0136R1, Rewording inheriting constructors. Which makes sense.
[Bug c++/65906] using-declaration allowed for non-direct base class
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;
[Bug c++/65906] using-declaration allowed for non-direct base class
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65906 --- Comment #1 from Daniel Adamski --- Just to clarify, it is "Base()" that's being called, not "Base(int, int)" (I should have used something else than "__func__").