You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, both C and B will be aligned to 16 bytes, it cause D::bazz be aligned to 32 bytes rather than 28 bytes.
Second, A::foo should be generated and following D::bazz.
No problem, I'm working on the alignment issue, the layout test cases failed on it, just disable all the alignment tests when two or more virtual inheritances
Consider the test case in
virtual_inheritance.hpp
, C++ will generate memory layout asbindgen
will generate memory layout asFirst, both
C
andB
will be aligned to 16 bytes, it causeD::bazz
be aligned to 32 bytes rather than 28 bytes.Second,
A::foo
should be generated and followingD::bazz
.The text was updated successfully, but these errors were encountered: