[PATCH v5 07/12] Enable --enable-fortify-source with clang
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Mon Feb 16 13:50:50 GMT 2026
On 16/02/26 10:38, Andreas Schwab wrote:
> On Nov 20 2025, Adhemerval Zanella wrote:
>
>> diff --git a/include/bits/stdio2-decl.h b/include/bits/stdio2-decl.h
>> index bbb052f192..9758bf4b55 100644
>> --- a/include/bits/stdio2-decl.h
>> +++ b/include/bits/stdio2-decl.h
>> @@ -1 +1,8 @@
>> #include <libio/bits/stdio2-decl.h>
>> +
>> +#ifndef _ISOMAC
>> +libc_hidden_proto (__fgets_unlocked_chk)
>> +libc_hidden_ldbl_proto (vfprintf)
>> +libc_hidden_ldbl_proto (__vasprintf_chk)
>> +libc_hidden_ldbl_proto (__vfprintf_chk)
>> +#endif
>
> These declarations conflict with the ones in include/stdio.h when
> --enable-fortify-source=1.
>
Right, I will take a look.
More information about the Libc-alpha
mailing list