[HarfBuzz] New MSVC compile issue (with current git master)

Behdad Esfahbod behdad at behdad.org
Thu Nov 8 18:14:33 UTC 2018


Hi John,

Please file a github issue with the errors.  Ebrahim can tell you what our
MSVC testing bots use.

On Thu, Nov 8, 2018 at 1:12 PM John Emmas <john at creativepost.co.uk> wrote:

> Hi Behdad,
>
> Back in September I flagged up a compilation problem I'd encountered
> when building with MSVC.  At the time, you were a bit confused because
> apparently you use 'bots' of some kind to check the MSVC compilations
> periodically.
>
> I just updated again (from git master) and I've hit a new MSVC
> compilation issue.  It concerns this line in 'src/hb-set.hh' (approx
> line 370):-
>
>      memcpy (pages.arrayZ(), other->pages.arrayZ(), count * sizeof
> (pages.arrayZ()[0]));
>
> In today's version it now looks like this:-
>
>      memcpy (pages, other->pages, count * sizeof (pages[0]));
>
> MSVC is complaining because it seems to have found 4 x declarations for
> 'pages' and it doesn't know which one to use.  I can delve a bit deeper
> at the weekend when I'll have some more time available - but in the
> meantime, I just wondered if the bots are passing this okay? Regards,
>
> John Emmas
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz
>


-- 
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20181108/a6fef7e0/attachment.html>


More information about the HarfBuzz mailing list