<div dir="ltr">You can ignore this one, Reid fixed the issue in <span style="color:rgb(0,0,0);white-space:pre-wrap">r180035. Damn!</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 1:16 PM, Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.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">I did thought about that but it seemed too invasive, your environment variables contain paths with backslashes since that's the windows convention. I would be somewhat surprised to see them all converted to slashes. Some of those paths are then used as input for the linker, now I'm sure that link.exe handles slashes just fine, but I just didn't want to think about all this and they seem very unnatural on windows.</div>
<div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 1:12 PM, Serge Pavlov <span dir="ltr"><<a href="mailto:sepavloff@gmail.com" target="_blank">sepavloff@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What about converting all backslashes into '/' ? Driver already uses<br>
it in many cases on Windows, a forward slash cannot be used in Windows<br>
path, and it doesn't require escaping. Looks like a solution?<br>
<br>
2013/4/23 Nikola Smiljanic <<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>>:<br>
<div><div>> Here's a patch that tries to solve<br>
> <a href="http://llvm.org/bugs/show_bug.cgi?id=15802" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=15802</a> The bug report contains a patch<br>
> that doesn't conform to coding standards and doesn't solve the general<br>
> issue. Basically backslashes must be escaped if they are followed by a<br>
> double quote, or in our case if they appear at the end of the argument<br>
> because clang puts quotes around every argument containing a backslash which<br>
> creates the backslashes followed by a double quote situation. The solution<br>
> is quadratic in nature but I don't think this makes a difference as such<br>
> input isn't something we should be seeing. I tried to solve this with as<br>
> little modifications to the existing code as possible.<br>
><br>
> More info on the crazy rules here<br>
> <a href="http://msdn.microsoft.com/en-us/library/bb776391%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/bb776391%28v=vs.85%29.aspx</a><br>
> <a href="http://msdn.microsoft.com/en-us/library/17w5ykft%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/17w5ykft%28v=vs.85%29.aspx</a><br>
><br>
</div></div>> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu" target="_blank">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>
<span><font color="#888888"><br>
<br>
<br>
--<br>
Thanks,<br>
--Serge<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>