<div dir="ltr"><div class="gmail_extra"><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 class="HOEnZb adM"><div class="">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">gribozavr@gmail.com</a>>wrote:<br>
><br>
> > On Fri, Feb 28, 2014 at 9:56 AM, Chandler Carruth <<a href="mailto:chandlerc@google.com">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>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>