[HarfBuzz] static_assertion failure in latest harfbuzz-ng code

Jonathan Kew jonathan at jfkew.plus.com
Sat Apr 24 04:30:44 PDT 2010


On 24 Apr 2010, at 00:54, Behdad Esfahbod wrote:

> 
> -  Tag		tag;		/* 4-byte identifier. */
> +  private:
> +  union {
> +  Tag			tag;		/* 4-byte identifier. */
> +  OpenTypeFontFace	fontFace[VAR];
> +  TTCHeader		ttcHeader[VAR];
> +  } u;
> };
> ASSERT_SIZE (OpenTypeFontFile, 4);
> 

This ASSERT_SIZE is no longer correct, as the OpenTypeFontFace member of the union is considerably bigger.





More information about the HarfBuzz mailing list