Oops, wrong alias - moving to cfe-commits.<br><br><div class="gmail_quote">On Fri, Aug 26, 2011 at 2:27 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The tiniest of tiny patches, as per a current cfe-dev discussion shown below. <br><div><br></div><div><div style="min-height:100%">
<div style="width:1583px"><div>
<div><div><div style="min-height:1px;width:1411px"><div><div><div><div style="width:1411px;background-color:rgb(102, 148, 227);background-repeat:initial initial">
<div style="background-color:rgb(102, 148, 227);padding:inherit;margin:inherit;margin-left:5px;background-repeat:initial initial">
<div style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><div><div>
<div><div><div><div style="color:rgb(0, 0, 0)"><table cellpadding="0" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-collapse:collapse;background-color:rgb(255, 255, 255);width:1406px;background-repeat:initial initial">

<tbody><tr><td style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial, sans-serif;vertical-align:top;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<div style="padding-top:0px;padding-right:0px;padding-bottom:1px;padding-left:0px"><div><div style="color:rgb(0, 0, 0);padding-top:4px;padding-right:8px;padding-bottom:4px;padding-left:8px">
<div><div style="clear:both;padding-bottom:0px"><div style="margin-bottom:10px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(239, 239, 239);border-right-color:rgb(239, 239, 239);border-left-color:rgb(239, 239, 239);border-bottom-color:rgb(226, 226, 226);border-top-width:0px;width:1157px">

<div style="padding-top:3px;background-color:rgb(255, 255, 255);border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:rgb(188, 188, 188);border-bottom-color:rgb(188, 188, 188);border-left-color:rgb(188, 188, 188);border-top-width:1px;border-top-style:solid;border-top-color:rgb(188, 188, 188)">

<div><div><div><div><div style="font-size:13px;margin-top:5px;margin-right:15px;margin-bottom:5px;margin-left:15px;padding-bottom:20px">
<div><div style="word-wrap:break-word"><div><div style="color:rgb(80, 0, 80)"><blockquote type="cite"><div><div><div><span style="font-family:'Times New Roman';font-size:medium"><pre style="white-space:pre-wrap">
<span style="font-weight:bold">/tmp/webcompile/_1251_0.c:1:37: </span><span></span><span style="color:rgb(255, 0, 255);font-weight:bold">warning: </span><span></span><span style="font-weight:bold">use of GNU old-style field designator extension [-Wgnu-designator]
</span><span>struct Point { int x, y; } p = { x: 10 };
</span><span style="color:green;font-weight:bold">                                 ~~ ^
</span><span></span><span style="color:green">                                 .x = </span></pre></span></div><div>Shouldn't that ^ be below the x, not the 10? like this:</div><div><br></div><div><span style="font-family:'Times New Roman';font-size:medium"><pre style="white-space:pre-wrap">
<span style="font-weight:bold">/tmp/webcompile/_1251_0.c:1:37: </span><span></span><span style="color:rgb(255, 0, 255);font-weight:bold">warning: </span><span></span><span style="font-weight:bold">use of GNU old-style field designator extension [-Wgnu-designator]
</span><span>struct Point { int x, y; } p = { x: 10 };
</span><span style="color:green;font-weight:bold">                                 ^~ 
</span><span></span><span style="color:green">                                 .x = </span></pre></span></div></div></div></blockquote></div><div>Yes, that'd be better. Patch welcome :)</div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br>