[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warning when compiling base and other programs
From: |
Riccardo Mottola |
Subject: |
Re: warning when compiling base and other programs |
Date: |
Tue, 23 Nov 2021 23:34:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.9.1 |
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