------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-05 05:12 ------- (In reply to comment #2) > i don't think compiler generated constructor should have the "privilege" to > invoke constructor of parent class which is private.
It does not but ICC does the same thing. Try creating an object of the class and you will see GCC errors out which is why I said it is due to the lazyness of the constructor. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21363