From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 7ABD51F910 for ; Sat, 26 Nov 2022 01:55:28 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oykPR-0008Iv-K9; Fri, 25 Nov 2022 20:55:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oykPK-0008G3-A1 for bug-gnulib@gnu.org; Fri, 25 Nov 2022 20:55:08 -0500 Received: from smtp.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oykPI-0005Zz-FI for bug-gnulib@gnu.org; Fri, 25 Nov 2022 20:55:06 -0500 Content-Type: multipart/signed; boundary="Apple-Mail=_2D2EF416-019F-4CE1-92EB-F2C27DB1A3AC"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [PATCH silence -Wdeprecation-warning for sprintf on macOS] silence sprintf deprecation warning From: Sam James In-Reply-To: <1946242.8hb0ThOEGa@nimes> Date: Sat, 26 Nov 2022 01:54:31 +0000 Cc: Gnulib bugs , Minsoo Choo , Minsoo Choo Message-Id: <27D0A0F6-1EC7-4CBC-9273-F5D99ADA8A90@gentoo.org> References: <20221125022831.51236-1-minsoochoo0122@proton.me> <1946242.8hb0ThOEGa@nimes> To: Bruno Haible X-Mailer: Apple Mail (2.3731.200.110.1.12) Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=sam@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org --Apple-Mail=_2D2EF416-019F-4CE1-92EB-F2C27DB1A3AC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 25 Nov 2022, at 22:25, Bruno Haible wrote: >=20 > Minsoo Choo wrote: >> sprintf is deprecated on macOS. Silence this warning by silencing >> -Wdeprecated-declartions. >=20 > I don't get a warning by compiling the 'vasnprintf-posix' module > on macOS 12.6, even with -Wall -Wdeprecated-declarations. >=20 > 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. >=20 > Bruno >=20 --Apple-Mail=_2D2EF416-019F-4CE1-92EB-F2C27DB1A3AC Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY4Fx2F8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kN0JAQDf9n0kbkWHHhAXFm7Rqep6/+IDX62F3DyCzboo+ndfHQEAqQ5hByus+QCK nZTCpqMgIGycljQpXKuMW7RIx6U7QgM= =C9ps -----END PGP SIGNATURE----- --Apple-Mail=_2D2EF416-019F-4CE1-92EB-F2C27DB1A3AC--