[LLVMbugs] [Bug 23709] New: clang-cl compatibility command line parse error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 30 08:19:42 PDT 2015


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: unassignedclangbugs at nondot.org
          Reporter: admin at shily.net
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150530/38cc8ff1/attachment.html>


More information about the llvm-bugs mailing list