- cfe-dev<div>+ cfe-commits</div><div><br></div><div>(patches usually go to cfe-commits)<br><br><div class="gmail_quote">On Mon, Sep 5, 2011 at 12:46 AM, Jean-Daniel Dupas <span dir="ltr"><<a href="mailto:jddupas@gmail.com">jddupas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<br>
I just saw that a recent commit add support of "auto type" and "for range" to c++98 as language extension. (r39102: PR10458: Finesse behaviour of C++0x features when in pre-0x mode. Accept for-range and auto with an ExtWarn, and produce a -Wc++0x-compat warning in C++98 mode when auto is used as a storage class.) </blockquote>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Shouldn't be this changed reflected in the __has_extension macro like other language extensions ?<br>
<br>
I attach a patch to fix this inconsistency.<br></blockquote><div><br></div><div>Seems likely good, but I'll let the person who flipped the switch chime in. </div></div></div>