From: Behdad Esfahbod Date: Wed, 26 Aug 2009 22:53:43 +0000 (-0400) Subject: [HB] Bug 593231 - < c99 compiler dislikes ValueRecord X-Git-Tag: 1.25.6~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b16c2664af5be02dfa987f3e8449dcb04d108c00;p=platform%2Fupstream%2Fpango.git [HB] Bug 593231 - < c99 compiler dislikes ValueRecord --- diff --git a/pango/opentype/hb-ot-layout-gpos-private.hh b/pango/opentype/hb-ot-layout-gpos-private.hh index 0357522..b152308 100644 --- a/pango/opentype/hb-ot-layout-gpos-private.hh +++ b/pango/opentype/hb-ot-layout-gpos-private.hh @@ -34,7 +34,9 @@ /* Shared Tables: ValueRecord, Anchor Table, and MarkArray */ typedef SHORT Value; -typedef Value ValueRecord[]; + +typedef Value ValueRecord[0]; +ASSERT_SIZE (ValueRecord, 0); struct ValueFormat : USHORT {