From: Sam James <sam@gentoo.org>
To: Bruno Haible <bruno@clisp.org>
Cc: Gnulib bugs <bug-gnulib@gnu.org>,
Minsoo Choo <minsoochoo0122@proton.me>,
Minsoo Choo <fel1x.mintchoco.development@gmail.com>
Subject: Re: [PATCH silence -Wdeprecation-warning for sprintf on macOS] silence sprintf deprecation warning
Date: Sat, 26 Nov 2022 01:54:31 +0000 [thread overview]
Message-ID: <27D0A0F6-1EC7-4CBC-9273-F5D99ADA8A90@gentoo.org> (raw)
In-Reply-To: <1946242.8hb0ThOEGa@nimes>
[-- Attachment #1: Type: text/plain, Size: 573 bytes --]
> On 25 Nov 2022, at 22:25, Bruno Haible <bruno@clisp.org> wrote:
>
> Minsoo Choo wrote:
>> sprintf is deprecated on macOS. Silence this warning by silencing
>> -Wdeprecated-declartions.
>
> I don't get a warning by compiling the 'vasnprintf-posix' module
> on macOS 12.6, even with -Wall -Wdeprecated-declarations.
>
> What OS are you on, what are you compiling, and what are the values
> for CC, CFLAGS, and CPPFLAGS that you have provided?
13.0 is needed - see https://lists.gnu.org/archive/html/bug-gnulib/2022-11/msg00013.html.
>
> Bruno
>
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 358 bytes --]
next prev parent reply other threads:[~2022-11-26 1:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-25 2:28 [PATCH silence -Wdeprecation-warning for sprintf on macOS] silence sprintf deprecation warning Minsoo Choo
2022-11-25 22:25 ` Bruno Haible
2022-11-26 1:54 ` Sam James [this message]
2022-11-26 4:13 ` Minsoo Choo
2022-11-26 3:31 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27D0A0F6-1EC7-4CBC-9273-F5D99ADA8A90@gentoo.org \
--to=sam@gentoo.org \
--cc=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
--cc=fel1x.mintchoco.development@gmail.com \
--cc=minsoochoo0122@proton.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).