gnustep-dev
[Top][All Lists]
Advanced

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

Re: warning when compiling base and other programs


From: Frederik Seiffert
Subject: Re: warning when compiling base and other programs
Date: Wed, 24 Nov 2021 09:14:09 +0100

Hi Riccardo,

> Am 23.11.2021 um 23:34 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:
> 
> in this case it is coming from gcc 7.5, but I have seen it in other gcc
> versions too. like gcc 11

Not sure then why the warning is happening, according to the GCC docs it should 
be supported:
https://gcc.gnu.org/onlinedocs/gcc-7.5.0/gcc/Common-Function-Attributes.html#index-format_005farg-function-attribute

I can see the warning also in the CI runs for GCC, but not with Clang. I guess 
we could just enable it for Clang then (just like in Apple headers), unless 
someone has another idea?

Frederik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]