trcrsired wrote:

> I don't think POSIX or Torvalds' opinions on case insensitivity really 
> matters here. The fact is that the Windows SDK and MSVC STL are written, 
> delivered and expected to be used in a case-insensitive environment. We have 
> a few choices:
> 
> 1. Accept it as-is, and handle case-insensitivity in the driver, which is 
> `clang-cl`'s behaviour, which is least-surprise for the end-user
> 2. 'rewrite the world', which is what MinGW, Cygwin, et al have done, but 
> require dragging along an entirely separate sysroot, which may diverge from 
> the vendor in features, correctness, and behaviour
> 3. Manually mangle the vendor-provided sysroot, attempted in this PR, or in 
> projects like https://github.com/Jake-Shadle/xwin. This is error-prone.

MinGW is just windows using a different C++ runtime. Cygwin is not, cygwin is 
more like reimplementing entire user space of windows.
it really matters. Because Linux kernel DO have case sensitivity headers so 
with many other projects. case insensitivity breaks code because of that.

https://github.com/llvm/llvm-project/pull/96417
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to