[HarfBuzz] Problems on porting harfbuzz to vitasdk

Behdad Esfahbod behdad.esfahbod at gmail.com
Tue Jun 13 08:55:12 UTC 2017


Cast your way out for now?  The first parameter can be cast to unsigned
int. I'll try to find a fix..

On Jun 13, 2017 10:04 AM, "Ebrahim Byagowi" <ebraminio at gmail.com> wrote:

> It is reported here also https://github.com/behdad/harfbuzz/issues/451
>
> On Tue, Jun 13, 2017 at 3:05 AM, Ebrahim Byagowi <ebraminio at gmail.com>
> wrote:
>
>> Hey guys. I am trying to help on porting
>> <https://github.com/vitasdk/packages/pull/28> harfbuzz to vitasdk but am
>> facing a number of compile issues. I see this build errors both locally and
>> on the CI: https://travis-ci.org/vitasdk/packages/builds/242199530#L2931
>>
>> """
>> /home/travis/build/vitasdk/packages/harfbuzz/src/harfbuzz-1.
>> 4.6/src/hb-unicode-private.hh:131:26: error: no matching function for
>> call to 'hb_in_ranges(hb_codepoint_t&, unsigned int, unsigned int, unsigned
>> int, unsigned int)'
>>         0xE0100u, 0xE01EFu));  /* VARIATION SELECTOR-17..256 */
>>
>> In file included from /home/travis/build/vitasdk/pac
>> kages/harfbuzz/src/harfbuzz-1.4.6/src/hb-buffer-private.hh:33:0,
>>                  from /home/travis/build/vitasdk/pac
>> kages/harfbuzz/src/harfbuzz-1.4.6/src/hb-buffer-serialize.cc:27:
>> /home/travis/build/vitasdk/packages/harfbuzz/src/harfbuzz-1.4.6/src/hb-private.hh:898:1:
>> note: candidate: template<class T> bool hb_in_ranges(T, T, T, T, T)
>>  hb_in_ranges (T u, T lo1, T hi1, T lo2, T hi2)
>>  ^~~~~~~~~~~~
>> """
>>
>> Does it ring any bells there? Perhaps a compiler flag is missing?
>>
>> In order to reproduce this locally, you can follow these steps:
>> 1. Install http://vitasdk.org (try it, surprisingly easy to do)
>> 2. git clone https://github.com/behdad/harfbuzz
>> 3. ./autogen.sh && make distdir && cd harfbuzz-* && mkdir build && cd
>> build
>> 4. cmake .. -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake
>> 5. make
>>
>> Thanks
>>
>
>
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20170613/6ff18723/attachment.html>


More information about the HarfBuzz mailing list