Re: warning when compiling base and other programs
Riccardo Mottola <[email protected]> Tue, 23 Nov 2021 23:34:03 +0100
| Newsgroups | gmane.comp.lib.gnustep.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Frederik Frederik Seiffert wrote: > I recently added NS_FORMAT_ARGUMENT to -[NSBundle > localizedStringForKey:...] (that macro was previously unused): > https://github.com/gnustep/libs-base/commit/87783e25137b4159dd846bf645aa907371615e8c > > Which compiler are you using? It sounds like it doesn’t support the > format_arg attribute, so we might have to adjust the check in > GSVersionMacros.h (currently enabled for Clang and GCC >= 4.2). in this case it is coming from gcc 7.5, but I have seen it in other gcc versions too. like gcc 11 Riccardo