Skip to content

Correct paths on case-sensitive filesystems#18

Merged
Gumball2415 merged 1 commit intoDn-Programming-Core-Management:masterfrom
nyanpasu64:fix-file-case
Dec 18, 2020
Merged

Correct paths on case-sensitive filesystems#18
Gumball2415 merged 1 commit intoDn-Programming-Core-Management:masterfrom
nyanpasu64:fix-file-case

Conversation

@nyanpasu64
Copy link
Copy Markdown
Collaborator

On Windows 10 with WSL enabled, you can enable NTFS case sensitivity through fsutil.exe file SetCaseSensitiveInfo [folder] enable. This causes Git (both Windows and WSL) and compilers to malfunction, and is very difficult to fix. But Git on Windows (case-insensitive by default) encounters breakage as well, just less often.

This PR fixes the consistency of upper/lowercase folders, files, and references to them in C++ #include, Visual Studio .vcxproj[.filters], and CMake files. I verified that compilation works in CMake, but didn't fully verify in Visual Studio, where IntelliSense is broken with case sensitivity enabled (wrecking the user experience).

This PR should have no effects; it does not enable NTFS case sensitivity, you have to do it yourself.

Based on a diff by @Gumball2415.

On Windows 10 with WSL enabled, you can enable NTFS case sensitivity
through `fsutil.exe file SetCaseSensitiveInfo [folder] enable`.
This causes Git (both Windows and WSL) and compilers to malfunction,
and is very difficult to fix.
But Git on Windows (case-insensitive by default) encounters breakage
as well, just less often.
@Gumball2415 Gumball2415 merged commit 276376f into Dn-Programming-Core-Management:master Dec 18, 2020
@nyanpasu64 nyanpasu64 deleted the fix-file-case branch January 27, 2021 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants