[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Oct 15 22:20:51 UTC 2017


 src/hb-set-private.hh |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit bb9917913f735855aea54f41f10e0c7be3632e88
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sun Oct 15 18:20:25 2017 -0400

    [set] Disable vectorization
    
    Fixes clang "non-const reference cannot bind to vector element" error.

diff --git a/src/hb-set-private.hh b/src/hb-set-private.hh
index a7ca4f4a..9cb99674 100644
--- a/src/hb-set-private.hh
+++ b/src/hb-set-private.hh
@@ -136,7 +136,9 @@ struct hb_set_t
 
     typedef uint64_t elt_t;
 
-#if HAVE_VECTOR_SIZE
+#if 0 && HAVE_VECTOR_SIZE
+    /* The vectorized version does not work with clang as non-const
+     * elt() errs /*non-const reference cannot bind to vector element". */
     typedef elt_t vector_t __attribute__((vector_size (PAGE_BITS / 8)));
 #else
     typedef hb_vector_size_t<elt_t, PAGE_BITS / 8> vector_t;


More information about the HarfBuzz mailing list