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


Attachment: hb-define-null-data.patch
Description: Binary data


_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to