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

            Bug ID: 31662
           Summary: Paths starting with /U will be mishandled by clang-cl
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: compn...@compnerd.org
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

When compiling paths rooted at /Users will be mis-handled as macro
undefinitions rather than input resulting in a "no input files provided" error.
 This is somewhat bewildering until one realizes what is happening.  This is
also possible to hit on Windows as the default home directory there is now
C:\Users\... and since the driver letter can be elided on the same drive, and
windows will canonicalize / to \ as a dir separator, it is valid to pass
/Users/... as an input to clang.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to