On 04/24/2010 07:30 AM, Jonathan Kew wrote: > 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.
Thanks Jonathan. This build breakage convinced me to drop the codepath using gcc extensions for zero-sized arrays on Linux. So it should never happen in the future. behdad _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz