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

            Bug ID: 23709
           Summary: clang-cl compatibility command line parse error
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

When the additional include directory ends with a backslash, the clang-cl will
parse error.

Settings in visual studio:
c:\third_party\include\
or use the macro
$(ProjectDir)

VS generate command line:
/c /IC:\third_party\include\ /IY:\proj\dir\ /Zi /nologo /W4 ...

clang-cl out put:(with -###)
... "-I" "C:\\third_party\\include /IY:\\proj\\dir /ZI" ...

It will cause some header file not found.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to