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

Colomban Wendling notifications at xxxxx
Tue Sep 6 12:58:15 UTC 2016


> The REAL problem with exceptions is is when one passes through some C code and back into C++ which catches it and continues to execute.

That's not the case here, as this is only directly called by Geany, right?

> If an exception tries to exit a noexcept function its an automatic terminate which tells the programmer they screwed up.

Not perfect, but indeed better than corrupting the call stack.

BTW, can really C-linkage stuff throw exceptions?  Sure it's somewhat unrelated, but if it's meant to be called by C code it better not throw indeed.

-- 
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-244941743
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160906/cca64018/attachment.html>


More information about the Github-comments mailing list