[Github-comments] [geany/geany] Plugins: Needless forward declaration of geany_load_module() (#1215)

Colomban Wendling notifications at xxxxx
Tue Sep 6 12:13:44 UTC 2016


Well, the reason we have this like we do for old-style `plugin_*()` is specifically to check for compatibility.

It's not very nice if *really* compatible things are deemed not, but if the compiler thinks it's incompatible, is it really not?  Also, could you propose another way to make sure the signature is correct, or at least try and warn if it isn't?

As for C, are there really any pragmas or attributes, is there really some that would lead to incompatibility of the prototype here, while actually not changing how the function need be called?

-- 
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/issues/1215#issuecomment-244931590
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160906/01e1a260/attachment.html>


More information about the Github-comments mailing list