[PATCH v1 00/35] Require GNU C --at least GCC 5 or Clang 4-- in headers
Florian Weimer
fweimer@redhat.com
Mon Nov 10 10:17:48 GMT 2025
* Alejandro Colomar:
> Hi Florian,
>
> On Mon, Nov 10, 2025 at 07:06:00AM +0100, Florian Weimer wrote:
>> * Alejandro Colomar:
>>
>> > Alejandro Colomar (35):
>> > Assume __GNUC__
>> > Assume __GNUC__ >= 2
>> > Assume __GNUC__ >= 3
>> > Assume __GNUC__ >= 4
>>
>> No, this breaks some versions of Oracle Pro*C, tools based on CKit (such
>> as mlnlffigen), and many other things.
>
> Thanks! Is it because of 'Assume __GNUC__'? Or because one of the
> version bumps? Could we assume a higher __GNUC__ but keep allowing
> non-__GNUC__?
I don't know. Changing <sys/cdefs.h> is probably not advised because
it's shared with gnulib. Support for GCC 1 can probably be removed from
the other headers, but the cleanup opportunities seem rather minimal.
Thanks,
Florian
More information about the Libc-alpha
mailing list