Re: [PATCH v5] compat: auto-detect if zlib has uncompress2()
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 25, 2022, 18:11 UTC
- Message-ID
- <xmqqtudrznwl.fsf@gitster.g>
- In-Reply-To
- <CAPUEspheGc2kYkX-T8YUbW7z8v650L83===q29DWZrE823FktA@mail.gmail.com>
Carlo Arenas <carenas@gmail.com> writes:
Show 11 quoted lines
> On Mon, Jan 24, 2022 at 12:21 PM Junio C Hamano <gitster@pobox.com> wrote: >> >> If the question is "name a compiler that breaks and is *still* in >> active use", then the answer would be fuzzy (it depends on the >> definition of "in active use"), but is useful to find out. > > `gcc -pedantic -werror` will abort the build (ISO C forbids an empty > translation unit) because an empty translation unit is not > syntactically correct code per ISO, as well as clang (ISO C requires a > translation unit to contain at least one declaration > [-Wempty-translation-unit]).
Ah, I remember that one, and it cleanly concludes the thread. Thanks.