<div dir="ltr">FWIW, I'm strongly strongly opposed to making up a second parallel-universe diagnostic system (-W versus -R, -Werror= versus <nothing>, etc.) that will have to be maintained in perpetuity alongside the old system, when it's trivially possible to extend the old system to support varying severity levels. Still, as I don't have time to write the patch, I'm exiting the discussion at this point.<div>
<br></div><div><div>–Arthur</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 28, 2014 at 3:32 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">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 dir="ltr"><div class="gmail_extra"><div class="im"><br><div class="gmail_quote">On Fri, Feb 28, 2014 at 3:18 AM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Fri, Feb 28, 2014 at 02:52:55AM -0800, Chandler Carruth wrote:<br>
> On Fri, Feb 28, 2014 at 2:10 AM, Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>>wrote:<br>
><br>
> > On Fri, Feb 28, 2014 at 9:56 AM, Chandler Carruth <<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>><br>
> > wrote:<br>
> > > I also think that it is ultimately a mistake to re-use the same<br>
> > commandline<br>
> > > syntax for remarks. While I'd rather re-use all the infrastructure, I'd<br>
> > > rather separate these into a different spelling eventually.<br>
> ><br>
> > +1.  Our current logic around -W* flags is already complex enough (to<br>
> > understand -- both for users and developers, to extend and to<br>
> > maintain), and overloading the meaning of -W* for remarks will only<br>
> > make it even more complex, and possibly confusing as well (it is well<br>
> > established that -W* flags enable warnings).<br>
><br>
><br>
> Ya know, -R* flags don't appear to be in use in the GCC commandline at all.<br>
> I'm liking the idea of taking over that capital letter for remarks-related<br>
> flags more.<br>
<br>
</div></div>Please don't. It is a linker flag that has historically often been<br>
passed without -Wl to gcc.</blockquote></div><br></div>GCC has rejected this flag since at least GCC 4.5, the oldest version I have lying around to test with. Clearly this syntax has long since gone away in GCC, and I think it is entirely reasonable for it to not work with Clang.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">We don't even come *close* to supporting all of the flags GCC accepts today, much less those it started rejecting over four years ago.</div></div>
<br>_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
<br></blockquote></div><br></div>