[HarfBuzz] MSVC compile issue with latest git master

Behdad Esfahbod behdad at behdad.org
Fri Sep 7 18:43:00 UTC 2018


On Fri, Sep 7, 2018 at 8:16 AM, John Emmas <john at creativepost.co.uk> wrote:

> On 07/09/2018 15:39, Behdad Esfahbod wrote:
>
>>
>>
>> Can you check if just removing the cast works?
>>
>>
> Hi Behdad,
>
> Unfortunately no -  removing the cast (by itself) doesn't work. However,
> if I remove the cast and then change line 258 to this, it then works:-
>
>   mutable LONG v;
>
> Previously, line 258 was this:-
>
>   mutable int v;
>
> Hope that helps
>

No I don't want to change the type.  The cast is fine if you also add a
static_assert (sizeof (LONG) == sizeof (int), ""); right there.  Please
submit a github Pull Request if that works.

Thanks,
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20180907/237e9e95/attachment-0001.html>


More information about the HarfBuzz mailing list