[Github-comments] [geany/geany-plugins] lineoperations: fixed -Werror=aggregate-return (#517)

elextr notifications at xxxxx
Sat Feb 25 23:59:53 UTC 2017


@b4n, the more its discussed the more convinced I become that returns of small values via pointer parameters instead of the function return value is ugly and inefficient.  It limits the benefits of inlining and defeats the compiler's ability to employ copy elision and requires the caller to explicitly declare a variable.  GCC's `aggregate-return` warning should be changed to `large-aggregate-return` instead.

-- 
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/pull/517#issuecomment-282521773
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170225/e376df8a/attachment.html>


More information about the Github-comments mailing list