This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21363] no compilation error for inheriting Base class with private constructor when the constructor for Derived Class is compiler generated
- From: "hingwah at hingwah dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 May 2005 04:58:27 -0000
- Subject: [Bug c++/21363] no compilation error for inheriting Base class with private constructor when the constructor for Derived Class is compiler generated
- References: <20050503163058.21363.hingwah@hingwah.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hingwah at hingwah dot net 2005-05-05 04:58 -------
i don't think compiler generated constructor should have the "privilege" to
invoke constructor of parent class which is private.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21363