Re: [PATCH] Makefile: detect compiler and enable more warnings in DEVELOPER=1
From: Eric Sunshine <hidden>
Date: 2018-03-18 09:37:23
From: Eric Sunshine <hidden>
Date: 2018-03-18 09:37:23
On Sun, Mar 18, 2018 at 5:28 AM, Jeff King [off-list ref] wrote:
On Sun, Mar 18, 2018 at 05:06:07AM -0400, Eric Sunshine wrote:quoted
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