https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104418
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[C++14+] Error inheriting |[C++17+] Error inheriting |base class constructors by |base class constructors by |using-declaration |using-declaration --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #5) > So the code is invalid C++11 but valid C++14 it seems. clang gets it wrong > for C++11 but gets it correct for C++14+. > > GCC gets it wrong for C++14+. Or that is part of C++17. Someone else will have to decide there. But clang is definitely wrong for C++11 and GCC is definitely wrong for C++17 and C++20.