[llvm-bugs] [Bug 31662] New: Paths starting with /U will be mishandled by clang-cl

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 16 14:23:09 PST 2017


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: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170116/7c48bfd6/attachment.html>


More information about the llvm-bugs mailing list