Previously we had:
clang -cc1 ... double backslash in windowsSDK include
Excessive backslash is returned by function getWindowsSDKDir.
The Windows registry contains Microsoft InstallDir with trailing backslash.
Differential D3440
Windows ToolChain: remove excessive backslash if we find WindowsSDK akuharev on Apr 21 2014, 7:12 AM. Authored by
Details
Previously we had: Excessive backslash is returned by function getWindowsSDKDir.
Diff Detail Event TimelineComment Actions I 'm not sure the problem is here. The sys::path::append function knows how to deal with duplicate slashes so if you do get duplicate backslash, plain string concatenation was probably used instead of sys::path::append. In such case the correct bug fix would be to use sys::path::append instead of the string concatenation. Comment Actions Thanks for the info, this should be fixed in r206933. BTW, I recommend not relying on that registry searching code. It's not well |