Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-28

Re: [iproute PATCH v3 0/6] Big C99 style initializer rework

From: David Ahern <hidden>
Date: 2016-06-28 17:59:05

On 6/28/16 11:58 AM, Phil Sutter wrote:
quoted
since .ifr_qlen is already referenced in that function seems like your
suggestion above (struct ifreq ifr = { .ifr_qlen = 0 };) should be
acceptable.
You mean regarding compatibility of using that define? Or are you
concerned with gcc creating suboptimal code?
no, I was thinking in terms of open coding knowledge of a struct.
I'd rather use a more generic approach than the above. Retrospectively,
I'd rather have that brace orgy instead of the above since it's
intention is more clear and it can be dropped once either gcc guys
manage to backport their fix or the last distribution has updated it's
compiler.
ha, that's funny.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help