From: Eric Sunshine Date: Sun, 18 Mar 2018 09:37:17 GMT Subject: Re: [PATCH] Makefile: detect compiler and enable more warnings in DEVELOPER=1 Message-ID: In-Reply-To: <20180318092825.GC29208@sigill.intra.peff.net> On Sun, Mar 18, 2018 at 5:28 AM, Jeff King wrote: > On Sun, Mar 18, 2018 at 05:06:07AM -0400, Eric Sunshine wrote: >> On MacOS, "cc -v" output is: >> --- >8 --- >> Apple LLVM version 9.0.0 (clang-900.0.39.2) >> Target: x86_64-apple-darwin16.7.0 >> Thread model: posix >> InstalledDir: ... >> --- >8 --- > > Is that really way ahead of the clang releases (which are at 7.0, > AFAIK), or do they use a totally different number scheme? I have no idea, but from past experience with Apple, I'd guess that the version number is an Apple invention. {...goes and researches a bit...} Indeed, there doesn't seem to be any correlation between what Apple reports and the actual clang version number[1]. [1]: https://stackoverflow.com/questions/33603027/get-apple-clang-version-and-corresponding-upstream-llvm-version