+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/harfbuzz-8.0.1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/harfbuzz-8.0.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for harfbuzz-8.0.1 ninja: Entering directory `output' [1/93] Generating src/harfbuzz.cc with a custom command [2/93] Compiling C++ object src/libharfbuzz.so.0.60801.0.p/hb-aat-map.cc.o FAILED: src/libharfbuzz.so.0.60801.0.p/hb-aat-map.cc.o c++ -Isrc/libharfbuzz.so.0.60801.0.p -Isrc -I../src -I. -I.. -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/include -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -fno-exceptions -fno-rtti -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -pipe -O2 -D_FORTIFY_SOURCE=2 -fPIC -pthread -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz.so.0.60801.0.p/hb-aat-map.cc.o -MF src/libharfbuzz.so.0.60801.0.p/hb-aat-map.cc.o.d -o src/libharfbuzz.so.0.60801.0.p/hb-aat-map.cc.o -c ../src/hb-aat-map.cc In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-map.hh:105:40: error: 'is_trivially_constructible' is not a member of 'std' static constexpr bool is_trivial = std::is_trivially_constructible::value && ^ ../src/hb-map.hh:105:73: error: expected primary-expression before '>' token static constexpr bool is_trivial = std::is_trivially_constructible::value && ^ ../src/hb-map.hh:105:74: error: '::value' has not been declared static constexpr bool is_trivial = std::is_trivially_constructible::value && ^ ../src/hb-map.hh:107:12: error: 'is_trivially_constructible' is not a member of 'std' std::is_trivially_constructible::value && ^ ../src/hb-map.hh:107:45: error: expected primary-expression before '>' token std::is_trivially_constructible::value && ^ ../src/hb-map.hh:107:46: error: '::value' has not been declared std::is_trivially_constructible::value && ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-map.hh:518:19: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = unsigned int; bool minus_one = true]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-serialize.hh:159:27: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-serialize.hh:159:45: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-serialize.hh:159:27: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-serialize.hh:159:45: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-serialize.hh:161:27: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-serialize.hh:161:55: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-serialize.hh:161:27: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-serialize.hh:161:55: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ ../src/hb-serialize.hh:271:26: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *start_serialize () ^ ../src/hb-serialize.hh:314:15: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *push () ^ ../src/hb-serialize.hh:586:59: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *start_embed (const Type *obj HB_UNUSED = nullptr) const ^ ../src/hb-serialize.hh:590:39: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *start_embed (const Type &obj) const ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-serialize.hh:785:44: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-subset-input.hh:122:34: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = Triple; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-multimap.hh:91:61: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb_vector_t; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset-accelerator.hh:34:0, from ../src/hb-subset-plan.hh:34, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-multimap.hh: In member function 'bool hb_multimap_t::in_error() const': ../src/hb-multimap.hh:78:36: error: 'const struct hb_hashmap_t >' has no member named 'values_ref' for (const auto &m : multiples.values_ref ()) ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-accelerator.hh:109:61: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-subset-accelerator.hh: In constructor 'hb_subset_accelerator_t::hb_subset_accelerator_t(hb_face_t*, const hb_map_t&, const hb_set_t&, bool)': ../src/hb-subset-accelerator.hh:96:26: error: no matching function for call to 'begin(hb_map_t&)' for (const auto &_ : unicode_to_gid) ^ ../src/hb-subset-accelerator.hh:96:26: note: candidates are: In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-map.cc:29: /usr/include/c++/4.8.2/bits/range_access.h:87:5: note: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^ /usr/include/c++/4.8.2/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-subset-accelerator.hh:96:26: note: mismatched types '_Tp [_Nm]' and 'hb_map_t' for (const auto &_ : unicode_to_gid) ^ In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-map.cc:29: /usr/include/c++/4.8.2/bits/range_access.h:58:5: note: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^ /usr/include/c++/4.8.2/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:58:5: error: 'const struct hb_map_t' has no member named 'begin' /usr/include/c++/4.8.2/bits/range_access.h:48:5: note: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^ /usr/include/c++/4.8.2/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.begin()) std::begin(_Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:48:5: error: 'struct hb_map_t' has no member named 'begin' In file included from /usr/include/c++/4.8.2/utility:74:0, from /usr/include/c++/4.8.2/tuple:38, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-map.cc:29: /usr/include/c++/4.8.2/initializer_list:89:5: note: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^ /usr/include/c++/4.8.2/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-subset-accelerator.hh:96:26: note: 'hb_map_t' is not derived from 'std::initializer_list<_Tp>' for (const auto &_ : unicode_to_gid) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-map.cc:29: ../src/hb-iter.hh:331:20: note: template::value>::type* > decltype (hb_iter(iterable).begin()) begin(Iterable&&) static inline auto begin (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).begin ()) ^ ../src/hb-iter.hh:331:20: note: template argument deduction/substitution failed: In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-meta.hh:65:67: error: no type named 'type' in 'struct hb_enable_if' #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:330:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ ../src/hb-meta.hh:65:67: note: invalid template non-type parameter #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:330:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-subset-accelerator.hh:96:26: error: no matching function for call to 'end(hb_map_t&)' for (const auto &_ : unicode_to_gid) ^ ../src/hb-subset-accelerator.hh:96:26: note: candidates are: In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-map.cc:29: /usr/include/c++/4.8.2/bits/range_access.h:97:5: note: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^ /usr/include/c++/4.8.2/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-subset-accelerator.hh:96:26: note: mismatched types '_Tp [_Nm]' and 'hb_map_t' for (const auto &_ : unicode_to_gid) ^ In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-map.cc:29: /usr/include/c++/4.8.2/bits/range_access.h:78:5: note: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^ /usr/include/c++/4.8.2/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.end()) std::end(const _Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:78:5: error: 'const struct hb_map_t' has no member named 'end' /usr/include/c++/4.8.2/bits/range_access.h:68:5: note: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^ /usr/include/c++/4.8.2/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.end()) std::end(_Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:68:5: error: 'struct hb_map_t' has no member named 'end' In file included from /usr/include/c++/4.8.2/utility:74:0, from /usr/include/c++/4.8.2/tuple:38, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-map.cc:29: /usr/include/c++/4.8.2/initializer_list:99:5: note: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^ /usr/include/c++/4.8.2/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-subset-accelerator.hh:96:26: note: 'hb_map_t' is not derived from 'std::initializer_list<_Tp>' for (const auto &_ : unicode_to_gid) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-map.cc:29: ../src/hb-iter.hh:335:20: note: template::value>::type* > decltype (hb_iter(iterable).end()) end(Iterable&&) static inline auto end (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).end ()) ^ ../src/hb-iter.hh:335:20: note: template argument deduction/substitution failed: In file included from ../src/hb.hh:531:0, from ../src/hb-aat-map.cc:29: ../src/hb-meta.hh:65:67: error: no type named 'type' in 'struct hb_enable_if' #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:334:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ ../src/hb-meta.hh:65:67: note: invalid template non-type parameter #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:334:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ ../src/hb-bimap.hh: At global scope: ../src/hb-bimap.hh:91:49: error: 'const hb_map_t' has no member named 'keys' auto keys () const HB_AUTO_RETURN (+ forw_map.keys()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:91:49: error: 'const hb_map_t' has no member named 'keys' auto keys () const HB_AUTO_RETURN (+ forw_map.keys()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:92:51: error: 'const hb_map_t' has no member named 'values' auto values () const HB_AUTO_RETURN (+ forw_map.values()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:92:51: error: 'const hb_map_t' has no member named 'values' auto values () const HB_AUTO_RETURN (+ forw_map.values()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:93:49: error: 'const hb_map_t' has no member named 'iter' auto iter () const HB_AUTO_RETURN (+ forw_map.iter()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:93:49: error: 'const hb_map_t' has no member named 'iter' auto iter () const HB_AUTO_RETURN (+ forw_map.iter()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-plan-member-list.hh:74:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-plan-member-list.hh:82:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb::shared_ptr; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-subset-plan-member-list.hh:87:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = const OT::Feature*; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-plan-member-list.hh:95:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb_pair_t; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false]': ../src/hb-serialize.hh:195:28: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = unsigned int; bool minus_one = true]': ../src/hb-multimap.hh:86:26: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ In file included from ../src/hb.hh:540:0, from ../src/hb-aat-map.cc:29: ../src/hb-vector.hh: In instantiation of 'Type hb_vector_t::pop() [with Type = hb_user_data_array_t::hb_user_data_item_t; bool sorted = false]': ../src/hb-object.hh:127:7: required from 'void hb_lockable_set_t::fini(lock_t&) [with item_t = hb_user_data_array_t::hb_user_data_item_t; lock_t = hb_mutex_t]' ../src/hb-object.hh:178:34: required from here ../src/hb-vector.hh:481:43: error: cannot convert 'std::remove_reference::type {aka hb_user_data_array_t::hb_user_data_item_t}' to 'hb_user_data_key_t*' in initialization Type v {std::move (arrayZ[length - 1])}; ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = unsigned int; bool minus_one = true]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = unsigned int; bool minus_one = true]' ../src/hb-map.hh:527:26: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! if (!item_t::is_trivial) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-map.cc:29: ../src/hb-iter.hh: In instantiation of 'void hb_copy(S&&, D&&) [with S = const hb_hashmap_t&; D = hb_hashmap_t&]': ../src/hb-map.hh:48:99: required from 'hb_hashmap_t::hb_hashmap_t(const hb_hashmap_t&) [with K = unsigned int; V = unsigned int; bool minus_one = true]' ../src/hb-map.hh:528:56: required from here ../src/hb-iter.hh:1023:14: error: no match for call to '(const) (const hb_hashmap_t&)' hb_iter (is) | hb_sink (id); ^ ../src/hb-iter.hh:157:1: note: candidates are: { ^ ../src/hb-iter.hh:159:3: note: template hb_iter_type::operator()(T&&) const operator () (T&& c) const ^ ../src/hb-iter.hh:159:3: note: template argument deduction/substitution failed: ../src/hb-iter.hh:165:3: note: template hb_array_t::operator()(Type*, unsigned int) const operator () (Type *array, unsigned int length) const ^ ../src/hb-iter.hh:165:3: note: template argument deduction/substitution failed: ../src/hb-iter.hh:1023:14: note: mismatched types 'Type*' and 'hb_hashmap_t' hb_iter (is) | hb_sink (id); ^ ../src/hb-iter.hh:169:3: note: template hb_array_t::operator()(Type (&)[length]) const operator () (Type (&array)[length]) const ^ ../src/hb-iter.hh:169:3: note: template argument deduction/substitution failed: ../src/hb-iter.hh:1023:14: note: mismatched types 'Type [length]' and 'const hb_hashmap_t' hb_iter (is) | hb_sink (id); ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-map.cc:35: ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = hb_serialize_context_t::object_t*&; VV = unsigned int&; K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-serialize.hh:409:59: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = Triple; bool minus_one = false]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = Triple; bool minus_one = false]' ../src/hb-subset-input.hh:89:3: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]' ../src/hb-subset-accelerator.hh:93:38: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = hb_vector_t; bool minus_one = false]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = hb_vector_t; bool minus_one = false]' ../src/hb-multimap.hh:37:8: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = hb_vector_t; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = const unsigned int&; VV = hb_vector_t; K = unsigned int; V = hb_vector_t; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:268:141: required from 'bool hb_hashmap_t::set(const K&, VV&&, bool) [with VV = hb_vector_t; K = unsigned int; V = hb_vector_t; bool minus_one = false]' ../src/hb-multimap.hh:54:61: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-map.cc:29: ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t::item_t]', declared using anonymous type, is used but never defined [-fpermissive] operator () (Type *array, unsigned int length) const ^ ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t >::item_t]', declared using anonymous type, is used but never defined [-fpermissive] [3/93] Compiling C++ object src/libharfbuzz.so.0.60801.0.p/hb-aat-layout.cc.o FAILED: src/libharfbuzz.so.0.60801.0.p/hb-aat-layout.cc.o c++ -Isrc/libharfbuzz.so.0.60801.0.p -Isrc -I../src -I. -I.. -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/include -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -fno-exceptions -fno-rtti -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -pipe -O2 -D_FORTIFY_SOURCE=2 -fPIC -pthread -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz.so.0.60801.0.p/hb-aat-layout.cc.o -MF src/libharfbuzz.so.0.60801.0.p/hb-aat-layout.cc.o.d -o src/libharfbuzz.so.0.60801.0.p/hb-aat-layout.cc.o -c ../src/hb-aat-layout.cc In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-map.hh:105:40: error: 'is_trivially_constructible' is not a member of 'std' static constexpr bool is_trivial = std::is_trivially_constructible::value && ^ ../src/hb-map.hh:105:73: error: expected primary-expression before '>' token static constexpr bool is_trivial = std::is_trivially_constructible::value && ^ ../src/hb-map.hh:105:74: error: '::value' has not been declared static constexpr bool is_trivial = std::is_trivially_constructible::value && ^ ../src/hb-map.hh:107:12: error: 'is_trivially_constructible' is not a member of 'std' std::is_trivially_constructible::value && ^ ../src/hb-map.hh:107:45: error: expected primary-expression before '>' token std::is_trivially_constructible::value && ^ ../src/hb-map.hh:107:46: error: '::value' has not been declared std::is_trivially_constructible::value && ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-map.hh:518:19: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = unsigned int; bool minus_one = true]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-serialize.hh:159:27: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-serialize.hh:159:45: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-serialize.hh:159:27: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-serialize.hh:159:45: error: invalid use of incomplete type 'const struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links, this->virtual_links) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'const struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-serialize.hh:161:27: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-serialize.hh:161:55: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-serialize.hh:161:27: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-serialize.hh:161:55: error: invalid use of incomplete type 'struct hb_serialize_context_t::object_t' (( hb_concat (this->real_links.writer (), this->virtual_links.writer ()) )); ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset.hh:36:0, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-serialize.hh:69:10: error: forward declaration of 'struct hb_serialize_context_t::object_t' struct object_t ^ ../src/hb-serialize.hh:271:26: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *start_serialize () ^ ../src/hb-serialize.hh:314:15: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *push () ^ ../src/hb-serialize.hh:586:59: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *start_embed (const Type *obj HB_UNUSED = nullptr) const ^ ../src/hb-serialize.hh:590:39: warning: 'returns_nonnull' attribute directive ignored [-Wattributes] Type *start_embed (const Type &obj) const ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-serialize.hh:785:44: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-subset-input.hh:122:34: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = Triple; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-multimap.hh:91:61: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb_vector_t; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset-accelerator.hh:34:0, from ../src/hb-subset-plan.hh:34, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-multimap.hh: In member function 'bool hb_multimap_t::in_error() const': ../src/hb-multimap.hh:78:36: error: 'const struct hb_hashmap_t >' has no member named 'values_ref' for (const auto &m : multiples.values_ref ()) ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-accelerator.hh:109:61: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-subset-accelerator.hh: In constructor 'hb_subset_accelerator_t::hb_subset_accelerator_t(hb_face_t*, const hb_map_t&, const hb_set_t&, bool)': ../src/hb-subset-accelerator.hh:96:26: error: no matching function for call to 'begin(hb_map_t&)' for (const auto &_ : unicode_to_gid) ^ ../src/hb-subset-accelerator.hh:96:26: note: candidates are: In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-layout.cc:28: /usr/include/c++/4.8.2/bits/range_access.h:87:5: note: template _Tp* std::begin(_Tp (&)[_Nm]) begin(_Tp (&__arr)[_Nm]) ^ /usr/include/c++/4.8.2/bits/range_access.h:87:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-subset-accelerator.hh:96:26: note: mismatched types '_Tp [_Nm]' and 'hb_map_t' for (const auto &_ : unicode_to_gid) ^ In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-layout.cc:28: /usr/include/c++/4.8.2/bits/range_access.h:58:5: note: template decltype (__cont.begin()) std::begin(const _Container&) begin(const _Container& __cont) -> decltype(__cont.begin()) ^ /usr/include/c++/4.8.2/bits/range_access.h:58:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.begin()) std::begin(const _Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:58:5: error: 'const struct hb_map_t' has no member named 'begin' /usr/include/c++/4.8.2/bits/range_access.h:48:5: note: template decltype (__cont.begin()) std::begin(_Container&) begin(_Container& __cont) -> decltype(__cont.begin()) ^ /usr/include/c++/4.8.2/bits/range_access.h:48:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.begin()) std::begin(_Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:48:5: error: 'struct hb_map_t' has no member named 'begin' In file included from /usr/include/c++/4.8.2/utility:74:0, from /usr/include/c++/4.8.2/tuple:38, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-layout.cc:28: /usr/include/c++/4.8.2/initializer_list:89:5: note: template constexpr const _Tp* std::begin(std::initializer_list<_Tp>) begin(initializer_list<_Tp> __ils) noexcept ^ /usr/include/c++/4.8.2/initializer_list:89:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-subset-accelerator.hh:96:26: note: 'hb_map_t' is not derived from 'std::initializer_list<_Tp>' for (const auto &_ : unicode_to_gid) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-layout.cc:28: ../src/hb-iter.hh:331:20: note: template::value>::type* > decltype (hb_iter(iterable).begin()) begin(Iterable&&) static inline auto begin (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).begin ()) ^ ../src/hb-iter.hh:331:20: note: template argument deduction/substitution failed: In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-meta.hh:65:67: error: no type named 'type' in 'struct hb_enable_if' #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:330:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ ../src/hb-meta.hh:65:67: note: invalid template non-type parameter #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:330:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-subset-accelerator.hh:96:26: error: no matching function for call to 'end(hb_map_t&)' for (const auto &_ : unicode_to_gid) ^ ../src/hb-subset-accelerator.hh:96:26: note: candidates are: In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-layout.cc:28: /usr/include/c++/4.8.2/bits/range_access.h:97:5: note: template _Tp* std::end(_Tp (&)[_Nm]) end(_Tp (&__arr)[_Nm]) ^ /usr/include/c++/4.8.2/bits/range_access.h:97:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-subset-accelerator.hh:96:26: note: mismatched types '_Tp [_Nm]' and 'hb_map_t' for (const auto &_ : unicode_to_gid) ^ In file included from /usr/include/c++/4.8.2/string:51:0, from /usr/include/c++/4.8.2/stdexcept:39, from /usr/include/c++/4.8.2/array:38, from /usr/include/c++/4.8.2/tuple:39, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-layout.cc:28: /usr/include/c++/4.8.2/bits/range_access.h:78:5: note: template decltype (__cont.end()) std::end(const _Container&) end(const _Container& __cont) -> decltype(__cont.end()) ^ /usr/include/c++/4.8.2/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.end()) std::end(const _Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:78:5: error: 'const struct hb_map_t' has no member named 'end' /usr/include/c++/4.8.2/bits/range_access.h:68:5: note: template decltype (__cont.end()) std::end(_Container&) end(_Container& __cont) -> decltype(__cont.end()) ^ /usr/include/c++/4.8.2/bits/range_access.h:68:5: note: template argument deduction/substitution failed: /usr/include/c++/4.8.2/bits/range_access.h: In substitution of 'template decltype (__cont.end()) std::end(_Container&) [with _Container = hb_map_t]': ../src/hb-subset-accelerator.hh:96:26: required from here /usr/include/c++/4.8.2/bits/range_access.h:68:5: error: 'struct hb_map_t' has no member named 'end' In file included from /usr/include/c++/4.8.2/utility:74:0, from /usr/include/c++/4.8.2/tuple:38, from /usr/include/c++/4.8.2/functional:55, from ../src/hb-cplusplus.hh:35, from ../src/hb.hh:530, from ../src/hb-aat-layout.cc:28: /usr/include/c++/4.8.2/initializer_list:99:5: note: template constexpr const _Tp* std::end(std::initializer_list<_Tp>) end(initializer_list<_Tp> __ils) noexcept ^ /usr/include/c++/4.8.2/initializer_list:99:5: note: template argument deduction/substitution failed: In file included from ../src/hb-subset-plan.hh:34:0, from ../src/hb-subset.hh:38, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-subset-accelerator.hh:96:26: note: 'hb_map_t' is not derived from 'std::initializer_list<_Tp>' for (const auto &_ : unicode_to_gid) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-layout.cc:28: ../src/hb-iter.hh:335:20: note: template::value>::type* > decltype (hb_iter(iterable).end()) end(Iterable&&) static inline auto end (Iterable&& iterable) HB_AUTO_RETURN (hb_iter (iterable).end ()) ^ ../src/hb-iter.hh:335:20: note: template argument deduction/substitution failed: In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-meta.hh:65:67: error: no type named 'type' in 'struct hb_enable_if' #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:334:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ ../src/hb-meta.hh:65:67: note: invalid template non-type parameter #define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr ^ ../src/hb-meta.hh:67:27: note: in expansion of macro 'hb_enable_if' #define hb_requires(Cond) hb_enable_if((Cond)) ^ ../src/hb-iter.hh:334:4: note: in expansion of macro 'hb_requires' hb_requires (hb_is_iterable (Iterable))> ^ ../src/hb-bimap.hh: At global scope: ../src/hb-bimap.hh:91:49: error: 'const hb_map_t' has no member named 'keys' auto keys () const HB_AUTO_RETURN (+ forw_map.keys()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:91:49: error: 'const hb_map_t' has no member named 'keys' auto keys () const HB_AUTO_RETURN (+ forw_map.keys()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:92:51: error: 'const hb_map_t' has no member named 'values' auto values () const HB_AUTO_RETURN (+ forw_map.values()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:92:51: error: 'const hb_map_t' has no member named 'values' auto values () const HB_AUTO_RETURN (+ forw_map.values()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:93:49: error: 'const hb_map_t' has no member named 'iter' auto iter () const HB_AUTO_RETURN (+ forw_map.iter()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-bimap.hh:93:49: error: 'const hb_map_t' has no member named 'iter' auto iter () const HB_AUTO_RETURN (+ forw_map.iter()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-plan-member-list.hh:74:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-plan-member-list.hh:82:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb::shared_ptr; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/hb-subset-plan-member-list.hh:87:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = const OT::Feature*; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t >': ../src/hb-subset-plan-member-list.hh:95:1: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb_pair_t; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-aat-layout-morx-table.hh:32:0, from ../src/hb-aat-layout-just-table.hh:32, from ../src/hb-aat-layout.cc:34: ../src/hb-ot-layout-common.hh: In member function 'bool OT::ClassDefFormat1_3::subset(hb_subset_context_t*, hb_map_t*, bool, bool, const OT::Layout::Common::Coverage*) const': ../src/hb-ot-layout-common.hh:1601:38: error: 'const hb_map_t' has no member named 'keys' ? hb_len (hb_iter (glyph_map.keys()) | hb_filter (glyph_filter)) ^ In file included from ../src/hb.hh:531:0, from ../src/hb-aat-layout.cc:28: ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t, unsigned int>': ../src/hb-ot-layout-common.hh:3103:28: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = hb::shared_ptr; V = unsigned int; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh: In instantiation of 'struct hb_hashmap_t': ../src/OT/Layout/GPOS/../../../hb-ot-layout-gsubgpos.hh:1135:10: required from here ../src/hb-map.hh:392:29: error: cannot call member function 'unsigned int hb_hashmap_t::size() const [with K = unsigned int; V = hb_set_t; bool minus_one = false]' without object + hb_iter (items, size ()) ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:397:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:402:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:407:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:412:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:418:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ ../src/hb-map.hh:423:19: error: 'iter_items' was not declared in this scope + iter_items () ^ ../src/hb-meta.hh:76:41: note: in definition of macro 'HB_AUTO_RETURN' #define HB_AUTO_RETURN(E) -> decltype ((E)) { return (E); } ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false]': ../src/hb-serialize.hh:195:28: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = unsigned int; bool minus_one = true]': ../src/hb-multimap.hh:86:26: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ In file included from ../src/hb.hh:540:0, from ../src/hb-aat-layout.cc:28: ../src/hb-vector.hh: In instantiation of 'Type hb_vector_t::pop() [with Type = hb_user_data_array_t::hb_user_data_item_t; bool sorted = false]': ../src/hb-object.hh:127:7: required from 'void hb_lockable_set_t::fini(lock_t&) [with item_t = hb_user_data_array_t::hb_user_data_item_t; lock_t = hb_mutex_t]' ../src/hb-object.hh:178:34: required from here ../src/hb-vector.hh:481:43: error: cannot convert 'std::remove_reference::type {aka hb_user_data_array_t::hb_user_data_item_t}' to 'hb_user_data_key_t*' in initialization Type v {std::move (arrayZ[length - 1])}; ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = unsigned int; bool minus_one = true]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = unsigned int; bool minus_one = true]' ../src/hb-map.hh:527:26: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! if (!item_t::is_trivial) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-layout.cc:28: ../src/hb-iter.hh: In instantiation of 'void hb_copy(S&&, D&&) [with S = const hb_hashmap_t&; D = hb_hashmap_t&]': ../src/hb-map.hh:48:99: required from 'hb_hashmap_t::hb_hashmap_t(const hb_hashmap_t&) [with K = unsigned int; V = unsigned int; bool minus_one = true]' ../src/hb-map.hh:528:56: required from here ../src/hb-iter.hh:1023:14: error: no match for call to '(const) (const hb_hashmap_t&)' hb_iter (is) | hb_sink (id); ^ ../src/hb-iter.hh:157:1: note: candidates are: { ^ ../src/hb-iter.hh:159:3: note: template hb_iter_type::operator()(T&&) const operator () (T&& c) const ^ ../src/hb-iter.hh:159:3: note: template argument deduction/substitution failed: ../src/hb-iter.hh:165:3: note: template hb_array_t::operator()(Type*, unsigned int) const operator () (Type *array, unsigned int length) const ^ ../src/hb-iter.hh:165:3: note: template argument deduction/substitution failed: ../src/hb-iter.hh:1023:14: note: mismatched types 'Type*' and 'hb_hashmap_t' hb_iter (is) | hb_sink (id); ^ ../src/hb-iter.hh:169:3: note: template hb_array_t::operator()(Type (&)[length]) const operator () (Type (&array)[length]) const ^ ../src/hb-iter.hh:169:3: note: template argument deduction/substitution failed: ../src/hb-iter.hh:1023:14: note: mismatched types 'Type [length]' and 'const hb_hashmap_t' hb_iter (is) | hb_sink (id); ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = hb_serialize_context_t::object_t*&; VV = unsigned int&; K = const hb_serialize_context_t::object_t*; V = unsigned int; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-serialize.hh:409:59: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = Triple; bool minus_one = false]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = Triple; bool minus_one = false]' ../src/hb-subset-input.hh:89:3: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]' ../src/hb-subset-accelerator.hh:93:38: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! ../src/hb-map.hh: In instantiation of 'void hb_hashmap_t::fini() [with K = unsigned int; V = hb_vector_t; bool minus_one = false]': ../src/hb-map.hh:46:28: required from 'hb_hashmap_t::~hb_hashmap_t() [with K = unsigned int; V = hb_vector_t; bool minus_one = false]' ../src/hb-multimap.hh:37:8: required from here ../src/hb-map.hh:152:11: error: in argument to unary ! In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-map.hh: In instantiation of 'uint32_t hb_hashmap_t::hash() const [with K = unsigned int; V = unsigned int; bool minus_one = true; uint32_t = unsigned int]': ../src/hb-algs.hh:356:43: required from 'constexpr hb_head_t::impl(const T&, hb_priority<2u>) const [with T = hb::shared_ptr; hb_head_t = unsigned int]' ../src/hb-algs.hh:376:3: required by substitution of 'template constexpr hb_head_t*)this)->::impl(v, hb_priority<16u>()))>::operator()(const T&) const [with T = hb::shared_ptr]' ../src/hb-map.hh:307:47: required from 'bool hb_hashmap_t::has(const K&, VV**) const [with VV = unsigned int; K = hb::shared_ptr; V = unsigned int; bool minus_one = false]' ../src/hb-ot-layout-common.hh:3103:36: required from here ../src/hb-map.hh:359:19: error: 'iter_items' was not declared in this scope + iter_items () ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = hb_vector_t; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = const unsigned int&; VV = hb_vector_t; K = unsigned int; V = hb_vector_t; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:268:141: required from 'bool hb_hashmap_t::set(const K&, VV&&, bool) [with VV = hb_vector_t; K = unsigned int; V = hb_vector_t; bool minus_one = false]' ../src/hb-multimap.hh:54:61: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = hb::unique_ptr; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = const unsigned int&; VV = hb::unique_ptr; K = unsigned int; V = hb::unique_ptr; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:268:141: required from 'bool hb_hashmap_t::set(const K&, VV&&, bool) [with VV = hb::unique_ptr; K = unsigned int; V = hb::unique_ptr; bool minus_one = false]' ../src/hb-ot-layout-common.hh:1150:11: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = hb::shared_ptr; V = unsigned int; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = const hb::shared_ptr&; VV = int; K = hb::shared_ptr; V = unsigned int; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:268:141: required from 'bool hb_hashmap_t::set(const K&, VV&&, bool) [with VV = int; K = hb::shared_ptr; V = unsigned int; bool minus_one = false]' ../src/hb-ot-layout-common.hh:3107:35: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = hb::shared_ptr; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = const unsigned int&; VV = hb::shared_ptr&; K = unsigned int; V = hb::shared_ptr; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:268:141: required from 'bool hb_hashmap_t::set(const K&, VV&&, bool) [with VV = hb::shared_ptr&; K = unsigned int; V = hb::shared_ptr; bool minus_one = false]' ../src/hb-ot-layout-common.hh:3108:54: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = const OT::Feature*; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = unsigned int; VV = const OT::Feature*; K = unsigned int; V = const OT::Feature*; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:273:85: required from 'bool hb_hashmap_t::set(K&&, VV&&, bool) [with VV = const OT::Feature*; K = unsigned int; V = const OT::Feature*; bool minus_one = false]' ../src/hb-ot-layout-common.hh:3169:66: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = hb_pair_t; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = unsigned int; VV = hb_pair_t; K = unsigned int; V = hb_pair_t; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:273:85: required from 'bool hb_hashmap_t::set(K&&, VV&&, bool) [with VV = hb_pair_t; K = unsigned int; V = hb_pair_t; bool minus_one = false]' ../src/hb-ot-layout-common.hh:3601:105: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::alloc(unsigned int) [with K = unsigned int; V = hb_set_t; bool minus_one = false]': ../src/hb-map.hh:221:9: required from 'bool hb_hashmap_t::set_with_hash(KK&&, uint32_t, VV&&, bool) [with KK = const unsigned int&; VV = hb_set_t; K = unsigned int; V = hb_set_t; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:268:141: required from 'bool hb_hashmap_t::set(const K&, VV&&, bool) [with VV = hb_set_t; K = unsigned int; V = hb_set_t; bool minus_one = false]' ../src/OT/Layout/GPOS/../../../hb-ot-layout-gsubgpos.hh:1146:33: required from here ../src/hb-map.hh:183:9: error: in argument to unary ! if (!item_t::is_trivial) ^ ../src/hb-map.hh:208:11: error: in argument to unary ! if (!item_t::is_trivial) ^ In file included from ../src/hb-serialize.hh:36:0, from ../src/hb-subset.hh:36, from ../src/hb-open-type.hh:37, from ../src/hb-aat-ltag-table.hh:28, from ../src/hb-aat-layout.hh:33, from ../src/hb-aat-layout.cc:30: ../src/hb-map.hh: In instantiation of 'bool hb_hashmap_t::is_equal(const hb_hashmap_t&) const [with K = unsigned int; V = unsigned int; bool minus_one = true]': ../src/hb-map.hh:374:78: required from 'bool hb_hashmap_t::operator==(const hb_hashmap_t&) const [with K = unsigned int; V = unsigned int; bool minus_one = true]' ../src/hb-map.hh:97:65: required from 'bool hb_hashmap_t::item_t::operator==(const K&) const [with K = hb::shared_ptr; V = unsigned int; bool minus_one = false]' ../src/hb-map.hh:323:13: required from 'hb_hashmap_t::item_t* hb_hashmap_t::fetch_item(const K&, uint32_t) const [with K = hb::shared_ptr; V = unsigned int; bool minus_one = false; uint32_t = unsigned int]' ../src/hb-map.hh:307:48: required from 'bool hb_hashmap_t::has(const K&, VV**) const [with VV = unsigned int; K = hb::shared_ptr; V = unsigned int; bool minus_one = false]' ../src/hb-ot-layout-common.hh:3103:36: required from here ../src/hb-map.hh:368:28: error: 'iter' was not declared in this scope for (auto pair : iter ()) ^ In file included from ../src/hb.hh:537:0, from ../src/hb-aat-layout.cc:28: ../src/hb-iter.hh: At global scope: ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t::item_t]', declared using anonymous type, is used but never defined [-fpermissive] operator () (Type *array, unsigned int length) const ^ ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t >::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t >::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t, unsigned int>::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t >::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t >::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ../src/hb-iter.hh:165:3: error: 'hb_array_t::operator()(Type*, unsigned int) const [with Type = hb_hashmap_t::item_t]', declared using anonymous type, is used but never defined [-fpermissive] ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/fonts/harfbuzz *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/fonts/harfbuzz