bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Cc: 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: Fri, 25 Nov 2022 23:25:16 +0100	[thread overview]
Message-ID: <1946242.8hb0ThOEGa@nimes> (raw)
In-Reply-To: <20221125022831.51236-1-minsoochoo0122@proton.me>

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?

Bruno





  reply	other threads:[~2022-11-25 22:25 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 [this message]
2022-11-26  1:54   ` Sam James
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=1946242.8hb0ThOEGa@nimes \
    --to=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).