[cxx-abi-dev] C++0x POD

Mark Mitchell mark at codesourcery.com
Wed Jul 15 21:54:43 UTC 2009


Jason Merrill wrote:

> Do any current compilers make sizeof(B)==8?  Should we just remove that
> sentence (and the one after)?

We'd still need some special words, since in the POD case we fall back
on the C ABI, and there is no C ABI for bitfields wider than their type;
that's not valid C.  But, I fully agree with the spirit of your comment:
at this point, if the ABI doesn't match implementation practice, we
should change the ABI, not the implementations.

-- 
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713



More information about the cxx-abi-dev mailing list