On Thu, Dec 20, 2012 at 11:26:36PM +0800, Dmitry Timoshkov wrote:
Huw Davies huw@codeweavers.com wrote:
The size is irrelevant - it's variable sized anyway. We just care about the offsets of the elements.
Anyway, in order to avoid any confusion or bugs in future with allocating an array of such structures or using sizeof() on them I'd suggest to explicitely specify alignment.
Using an array of these structures or using sizeof() is wrong anyway as they are variable-sized...