------- Additional Comments From Serge dot Iovleff at univ-lille1 dot fr 2005-03-01 11:16 ------- (In reply to comment #3) > it is invalid to use A0 in the base constructor list of D, because A0 is not a > virtual base for D. .it doesn't matter that the inheritance A->A0 is declared > virtual, 2 trees which both inherit A0 must join at D to use it in base > constructor list)
No, I think it is invalid to use A0 in the base constructor list of B and C, even if g++ allow it... And I think also A0 is a virtual base for D, as it would appear twice (D inherit from B and C) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20207