<div>My develop environment: visual c++ 2010 express in Windows XP.</div><div><br></div>In clang-2.9, for test/Proprocessor/dependencies-and-pp.c<div><br></div><div>// RUN: %clang -E -MD -MF %t.d -MT foo -MQ '$(bar)' -MT 'b az' -MQ 'qu ux' -MQ ' space' -o %t %s</div>

<div><br></div><div>will be expended to </div><div><br></div><div>D:/MyData/MyProject/llvm/clang_build/test/../bin/Debug/clang.EXE  -E -MD -MF D:\MyData\MyProject\llvm\clang_build\test\Preprocessor\Output\dependencies-and-pp.c.tmp.d -MT foo -MQ '$(bar)' -MT 'b az' -MQ 'qu ux' -MQ ' space' -o D:\MyData\MyProject\llvm\clang_build\test\Preprocessor\Output\dependencies-and-pp.c.tmp D:\MyData\MyProject\llvm\clang-2.9\test\Preprocessor\dependencies-and-pp.c<br>

<div><br></div><div>but clang gives errors:</div><div><br></div><div><div>clang: error: no such file or directory: 'az''</div><div>clang: error: no such file or directory: 'ux''</div><div>clang: error: no such file or directory: 'space''</div>

</div><div><br></div><div>however, if I change the (-MT 'b az' -MQ 'qu ux' -MQ ' space') to (-MT "b az" -MQ "qu ux" -MQ " space")  (just replace the single quotes to double quotes)</div>

<div><br></div><div>everything will be fine.</div><div><br></div><div>I don't encounter such problem in Linux, hence, I think this problem only occurs in Windows platform.</div><div>Does anyone knows how to solve it? or is it a Clang-2.9 bug?</div>

<div><br></div><div>Thx<br clear="all">Wei Hu<br><a href="http://code.google.com/u/wei.hu.tw/">http://code.google.com/u/wei.hu.tw/</a><br><a href="http://www.csie.ntu.edu.tw/~r88052/">http://www.csie.ntu.edu.tw/~r88052/</a><br>

<br>
</div></div>