[webkit-dev] Potential problem with member function pointer sizes
Isaac Devine
isaac at devinesystems.co.nz
Wed Apr 13 16:26:32 PDT 2016
Hi Chris,
I wonder whether what you have reported would cause this issue:
https://bugs.webkit.org/show_bug.cgi?id=151162
Cheers,
Isaac
On 14 April 2016 at 09:17, Vienneau, Christopher <cvienneau at ea.com> wrote:
> Hi,
>
>
>
> I just wanted to give a heads up on an issue I recently investigated, the
> details can be seen in this forums post:
>
>
> https://social.msdn.microsoft.com/Forums/vstudio/en-US/72343dd4-3a43-46e8-889e-73dc4d8e9432/discrepancy-with-sizeof-in-template?forum=vcgeneral
>
> The short version is that the MSVC compiler will do the wrong then when
> making a member function pointer to a class that it only has a forward
> declaration for. This can be fixed by either providing the definition for
> the class or by using the /vmg compiler flag.
>
>
>
> I did not experience this problem with Apples WinCairo sample, but I
> suspect it could happen.
>
>
>
> Chris Vienneau
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20160414/0a5c699b/attachment.html>
More information about the webkit-dev
mailing list