Re: [PATCH v5] compat: auto-detect if zlib has uncompress2()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 24, 2022 at 12:21 PM Junio C Hamano <gitster@xxxxxxxxx> 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]).

Carlo



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux