[Bug c++/19604] vtable error with virtual inheritance and arrays

2005-01-25 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-01-26 04:25 --- You are accessing something here var[1].adresse() that definitely is not an A, but sitting somewhere between other objects. That's definitely not allowed. W. -- What|Removed

[Bug c++/19604] vtable error with virtual inheritance and arrays

2005-01-24 Thread webmyster at addoc dot u-psud dot fr
--- Additional Comments From webmyster at addoc dot u-psud dot fr 2005-01-24 14:53 --- (In reply to comment #2) > I think this is invalid and here is why? > Basically the sizeof (A) is smaller than sizeof(B). > But if you convert from B* to A* you cannot access the second element any >

[Bug c++/19604] vtable error with virtual inheritance and arrays

2005-01-24 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-24 14:37 --- I think this is invalid and here is why? Basically the sizeof (A) is smaller than sizeof(B). But if you convert from B* to A* you cannot access the second element any more. -- What|Removed