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

Matthew Brush notifications at xxxxx
Wed Sep 7 02:42:55 UTC 2016


> Probably the best solution is @b4n's one

No, it misses the point of the issue. It's not specific to `noexcept` and solving for that one specification only, among all current and future language specifications or compiler attributes and pragmas which could cause a similar problem doesn't really help in general.

IMO, it would be better to go with the preprocessor guard and let plugins remove the forward declaration completely if they know what they're doing. This is more general and allows plugins to workaround not just `noexcept` but also any other specifications/attributes/pragmas which could cause similar problems.

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


More information about the Github-comments mailing list