Re: warning when compiling base and other programs

2021-11-24 Thread Richard Frith-Macdonald
> On 24 Nov 2021, at 08:14, Frederik Seiffert wrote: > > Hi Riccardo, > >> Am 23.11.2021 um 23:34 schrieb Riccardo Mottola : >> >> 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

Re: warning when compiling base and other programs

2021-11-24 Thread Frederik Seiffert
Hi Riccardo, > Am 23.11.2021 um 23:34 schrieb Riccardo Mottola : > > 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:

Re: warning when compiling base and other programs

2021-11-23 Thread Riccardo Mottola
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

Re: warning when compiling base and other programs

2021-11-23 Thread Frederik Seiffert
I recently added NS_FORMAT_ARGUMENT to -[NSBundle localizedStringForKey:...] (that macro was previously unused): https://github.com/gnustep/libs-base/commit/87783e25137b4159dd846bf645aa907371615e8c Which

warning when compiling base and other programs

2021-11-23 Thread Riccardo Mottola
Hello, since recently I get many of these warnings: ../../Headers/Foundation/NSBundle.h:348:10: warning: 'format_arg' attribute directive ignored [-Wattributes]   table: (NSString*)tableName NS_FORMAT_ARGUMENT(1); In base itself (updated today) but also elsewhere. Riccardo