| Issue |
174035
|
| Summary |
[WINDOWS] Clang links to deprecated library `oldnames`
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
kaixoo12
|
Microsoft has removed the `oldnames.lib` library from the Windows 11 SDK. However, Clang still links to it by default, at least in CMake.
Add a check that checks the SDK version, and stops linking to `oldnames` for a certain version.
As a workaround, I tried supplying `-nodefaultlibs -lkernel32 -luser32 ...` but that didn't stop clang from linking to oldnames.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs