[LLVMbugs] [Bug 21174] New: clang searches current working directory for file specified to -include command line option.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Oct 6 11:29:00 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=21174

            Bug ID: 21174
           Summary: clang searches current working directory for file
                    specified to -include command line option.
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jbulow-llvm at jongel.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang does not work as a drop-in replacement for gcc when precompiled headers
is used via the -include command line option. gcc searches the paths specified
by -I options. clang does only look in the current working directory, i.e not
the directory where the source file is in if the source file is not in the
current working directory.

-- 
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/20141006/85212bc9/attachment.html>


More information about the llvm-bugs mailing list