On 24.09.2014 10:08, julianf...@apache.org wrote: > Author: julianfoad > Date: Wed Sep 24 08:08:39 2014 > New Revision: 1627249 > > URL: http://svn.apache.org/r1627249 > Log: > On the 'move-tracking-2' branch: Don't warn about functions returning an > aggregate (structure) value, as it's convenient to do so on this branch.
I guess we could remove this warning everywhere, since there are probably no ancient K&R compilers out there any more. OTOH, you should be aware that returning structs (as opposed to initializing a struct by reference on the caller's stack) often generates an extra memcopy in C. -- Brane