[HarfBuzz] compilation failure
Behdad Esfahbod
behdad at behdad.org
Thu Apr 22 07:27:03 PDT 2010
Thanks Jonthan, I pushed a different fix.
behdad
On 04/22/2010 06:33 AM, Jonathan Kew wrote:
> Hi Behdad,
>
> The most recent harfbuzz-ng code fails to compile under some gcc versions because of the use of a semicolon after the DEFINE_NULL_DATA(....); macro. Under gcc-4.3.3, it failed with the error:
>
> In file included from /builds/slave/sendchange-linux-hg/build/gfx/harfbuzz/src/hb-open-file-private.hh:30,
> from /builds/slave/sendchange-linux-hg/build/gfx/harfbuzz/src/hb-font.cc:30:
> /builds/slave/sendchange-linux-hg/build/gfx/harfbuzz/src/hb-open-type-private.hh:405: error: extra ‘;’
>
> (The DEFINE_NULL_DATA macro ends with an inline function definition, which does not require a semicolon after its closing brace.)
>
> The attached patch should fix it.
>
> Jonathan
>
>
>
>
>
>
>
More information about the HarfBuzz
mailing list