[Github-comments] [geany/geany-plugins] Scope breaks nightly with gcc 8 (#794)

Colomban Wendling notifications at xxxxx
Thu Nov 29 18:57:08 UTC 2018


@LarsGit223 I think it's a case of over-carefulness: no, there is nothing guaranteeing the size of a data pointer and the size of a function pointer to be equal [1], but in practice I would expect this to always be the case, especially on platforms where GTK+ works.
But as the check is here, I'd keep it, maybe just changing it to a `MAX()` if anything.

[1] actually in theory pointer to different data types could be incompatible, but it's kinda irrelevant void* ought to be able to store pointers to any type, so there's little reasons for other pointers not to simply have the same size.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/794#issuecomment-442951556
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181129/ff02280b/attachment-0001.html>


More information about the Github-comments mailing list