Re: warning when compiling base and other programs
Frederik Seiffert <[email protected]> Wed, 24 Nov 2021 09:14:09 +0100
| Newsgroups | gmane.comp.lib.gnustep.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Riccardo, > Am 23.11.2021 um 23:34 schrieb Riccardo Mottola <[email protected]>: > > 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