Re: [PATCH] Makefile: detect compiler and enable more warnings in DEVELOPER=1
- From
Jeff King <peff@peff.net>
- Date
- Mar 18, 2018, 09:28 UTC
- Message-ID
- <20180318092825.GC29208@sigill.intra.peff.net>
- In-Reply-To
- <20180318090607.GA26226@flurp.local>
On Sun, Mar 18, 2018 at 05:06:07AM -0400, Eric Sunshine wrote:
Show 8 quoted lines
> 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?
If the latter, I guess we'd have to treat it separately from clang and have all of the conditionals treat it independently? Yuck.
-Peff