Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Compilation issue on Mac OS

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 21 Apr 2017 20:10:24 -0700
On Apr 21, 2017, at 8:04 PM, ajay saxena <aileronajay@xxxxxxxxx> wrote:

> This is what i get for gcc --version
> 
> Ajays-MacBook-Pro:wireshark ajasaxen$ gcc --version
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
> 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

OK, so "gcc" is just another name for Clang, as I suspected.

I'll file a bug asking that the Clang user manual document the way Clang searches for header files, and see if I can figure out what would cause it *not* to search /usr/local/include (by digging through the Clang source, if I have to).