-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please do not use uppercase header. use dbghelp.h instead. Cross compiling always needs lowercase header. #2542
Comments
Also llvm does not support manifestinput
|
PR welcome :) Regarding mt.exe: I'm not sure how to fix that. |
Lines 15 to 20 in 9d31ebb
|
That is the problem. Cross-compiling Windows MSVC target is impossible unless you make the header lowercase. For, Windows case does not matter but it matters for linux. I am using msvc's target for the same behavior as gcc or it just fails to compile |
https://github.com/trcrsired/windows-msvc-sysroot/blob/main/include/dbghelp.h All headers should be in lowercase to maintain consistency, as Microsoft's approach is inconsistent. They have mixed headers and libs, while LLVM uses lowercase. I use Windows .exe as the portable binary for Linux and Android. The case must be lowercase so I could do my job. As the maintainer of this windows-msvc-sysroot, I believe using lowercase headers is the correct approach. On Windows, filenames are case insensitive, so this will not cause any issues. I will submit a PR to address this. |
Regarding the mt.exe issue, it was caused by llvm-mt requiring libxml2 as a dependency, which I hadn't built. This oversight was entirely my own, as confirmed by the LLVM team. |
@zufuliu Also ninja uses Just use the lowercase header, and everything is consistent and fine. Plus $ARCH-windows-gnu targets can also use this minidump. I will submit a PR |
I have submitted a PR #2545 |
tested clang with -Wnonportable-include-path, it does not warn on change file case, so PR #2545 is OK to me. |
https://github.com/trcrsired/windows-msvc-sysroot/tree/main/include
The text was updated successfully, but these errors were encountered: