[llvm-bugs] [Bug 32742] New: Clang manual should describe the include file search process

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 21 20:16:49 PDT 2017


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

            Bug ID: 32742
           Summary: Clang manual should describe the include file search
                    process
           Product: clang
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Documentation
          Assignee: unassignedclangbugs at nondot.org
          Reporter: guy at alum.mit.edu
                CC: llvm-bugs at lists.llvm.org

I'm in the middle of trying to figure out why somebody's Wireshark build on
macOS fails with autotools and succeeds with CMake; it appears that it's not
finding header files in /usr/local/include with the autotools build but finding
them with the CMake build.

The CMake build is building with -isystem /usr/local/include, but the autotools
build isn't - but I can't find anything that would describe why adding it would
make a difference.  The Clang manual at

    http://clang.llvm.org/docs/UsersManual.html

doesn't appear to say very much about it.

The version of Clang they're using is

Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I have the same version on my machine, but my autotools builds work Just Fine,
finding the headers in /usr/local/include.

-- 
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/20170422/ca622741/attachment.html>


More information about the llvm-bugs mailing list