[llvm-bugs] [Bug 24741] New: MSVCToolChain failed to find Universal CRT

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 7 10:28:25 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24741

            Bug ID: 24741
           Summary: MSVCToolChain failed to find Universal CRT
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ikudrin.dev at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

With Visual Studio 2015 release, a part of runtime library was extracted and
now comes with Windows Kits. Clang doesn't find these pathes when it looks up
for system include and library directories.

Steps to reproduce:
1) Have Visual Studio 2015 installed.
2) Have clang builded from trunk
3) Have a hello.c file:
#include <stdio.h>
int main() {
  printf("hello world\n");
  return 0;
}
4) clang.exe hello.c
hello.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^
1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150907/07071ee6/attachment-0001.html>


More information about the llvm-bugs mailing list