[HarfBuzz] Harfbuzz does not compile (errors)

Tom Hacohen tom.hacohen at samsung.com
Sun Jun 3 03:45:57 PDT 2012


Dear,

The following commit breaks compilation:

commit 0558d55bac7fb9279aac859b465e7c0e3ad97492
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon May 28 10:46:47 2012 -0400

     Remove hb_atomic_int_set/get()

     We never use them in fact...

     I'm just adjusting these as I better understand the requirements of
     the code and the guarantees of each operation.


Errors:
In file included from hb-buffer-private.hh:35:0,
                  from hb-ot-map-private.hh:32,
                  from hb-ot-shape-private.hh:32,
                  from hb-ot-shape.cc:29:
hb-object-private.hh: In constructor 
'_hb_object_header_t::_hb_object_header_t()':
hb-object-private.hh:97:8: error: uninitialized const member in 'struct 
hb_reference_count_t'
hb-object-private.hh:51:25: note: 'hb_reference_count_t::ref_count' 
should be initialized
In file included from hb-ot-shape.cc:33:0:
hb-set-private.hh: In constructor '_hb_set_t::_hb_set_t()':
hb-set-private.hh:37:8: note: synthesized method 
'_hb_object_header_t::_hb_object_header_t()' first required here
hb-ot-shape.cc: In function 'void hb_ot_shape_glyphs_closure(hb_font_t*, 
hb_buffer_t*, const hb_feature_t*, unsigned int, hb_set_t*)':
hb-ot-shape.cc:521:12: note: synthesized method '_hb_set_t::_hb_set_t()' 
first required here


Thanks,
Tom.



More information about the HarfBuzz mailing list