[LLVMbugs] [Bug 11792] New: Improve windows sdk lookup logic in WindowsToolChain.cc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 17 22:17:04 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11792

             Bug #: 11792
           Summary: Improve windows sdk lookup logic in
                    WindowsToolChain.cc
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7898
  --> http://llvm.org/bugs/attachment.cgi?id=7898
patch sketch

I somehow ended up with a registry that looks like

.../Microsoft SDKs/Windows/
  v7.0A/
    InstallationFolder
    (tons of subfolders
  v7.1
    (no values)
    Just WinSDKIntelliSysRefAssist

So for some reason I don't have a real v7.1 SDK. The current toolchain looks
for the highest version first, and after that for "InstallationFolder" in
there.

Instead, it should pick the highest version with "InstallationFolder" present.
A rough sketch of a patch is attached.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list