Re: [PATCH v3] git-compat-util.h: implement a different ARRAY_SIZE macro for for safely deriving the size of array
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 30, 2015, 17:54 UTC
- Message-ID
- <xmqq8ud91ozm.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20150430174440.GC21800@peff.net>
Jeff King <peff@peff.net> writes:
> ISTR that you compile with "-std=c89". typeof was added in c99, I think > (and was a GNU extension before that). I wonder if that is fooling the > gcc version-check.
Yeah, I think that is very likely.