Re: v2.35.0 DEVELOPER=1 regression
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 14, 2022, 21:53 UTC
- Message-ID
- <xmqqk0f29e6w.fsf@gitster.g>
- In-Reply-To
- <220114.8635lqrqci.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 5 quoted lines
>> Wow, that sounds horribly broken. > > Yes, but it's also working as designed :) We're erroring because the C > library headers on the OS aren't C99-compliant. That it would apply to > only git.git's sources was only ever wishful thinking.
No, C library supporting only C11 is perfectly fine. On such a system, the compiler shouldn't even support -std=gnu99. That is what I consider broken.