Hello,<div><br></div><div>The new version of patch addresses most of the issues discussed here + refactored code ;)</div><div><br><div class="gmail_quote">On Tue, Apr 24, 2012 at 7:52 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Tue, Apr 24, 2012 at 10:39 AM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_quote"><div>On Tue, Apr 24, 2012 at 9:37 AM, Jordy Rose <span dir="ltr"><<a href="mailto:jediknil@belkadan.com" target="_blank">jediknil@belkadan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


And again I think the fixit (and perhaps the message) should use GCC __attribute__ syntax if we're not in C++11 mode.</blockquote><div><br></div></div><div>GNU attributes can't be attached to statements. Do we want to diverge from the GNU attribute spec (such as it is) for this? (I'm not saying no -- I think having this outside C++11 would be awesome -- but this gives me pause).</div>

</div></blockquote><div><br></div></div></div><div>Personally, I have no particular motivation to expose this outside of C++11. Yet another reason to migrate to C++11. ;]</div><div><br></div><div>If we're going to do it, I would do it by making C++11 attributes (or some subset) available as an extension in C++98 mode. </div>
</div></div></blockquote><div> </div><div>Can gcc-style attributes be applied to statements at all? I doubt.</div><div><br></div></div>-- <br>
</div><div>Best regards,</div><div>Alexander Kornienko</div>