[HarfBuzz] Patch: fix compilation of harfbuzz with Sun Studio on Solaris

Ginn Chen Ginn.Chen at Sun.COM
Thu Jun 24 03:38:15 PDT 2010


There're 2 issues.

1) C++ function pointer can not be assigned to C function pointer type without explicit casting.
Instead of adding a lots of casting, I added HB_BEGIN_DECLS/END_DECLS for *nil functions.

2) A union member cannot have a user-defined assignment operator.
Same issue as https://bugzilla.gnome.org/show_bug.cgi?id=602408#c1

Please let me know if the patch is committed on master, then I'll put it back to mozilla-central.

Thanks,

Ginn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: harfbuzz_sun_studio.diff
Type: application/octet-stream
Size: 3166 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/harfbuzz/attachments/20100624/98f3c397/attachment.obj>


More information about the HarfBuzz mailing list