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=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 3A6761F910 for ; Sat, 26 Nov 2022 04:14:30 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; secure) header.d=proton.me header.i=@proton.me header.b="g3Fr9gSz"; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyma8-0004vQ-K3; Fri, 25 Nov 2022 23:14:24 -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 1oyma1-0004vB-Ia for bug-gnulib@gnu.org; Fri, 25 Nov 2022 23:14:18 -0500 Received: from mail-40130.protonmail.ch ([185.70.40.130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oymZu-0007OQ-Rc for bug-gnulib@gnu.org; Fri, 25 Nov 2022 23:14:16 -0500 Date: Sat, 26 Nov 2022 04:13:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1669436041; x=1669695241; bh=THAGmHfsxjiffOYuTtHxtfkhEd1w/1iYTspII8lXBDQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=g3Fr9gSzI9HQnP44eiL4xjXQc/1pzki9++MafkLSaKYz06+9LcWlCom0aEVwVVfFG PnEryfkzHBD5AX501lEJUk8QQt42cxEUfdXLmpIU4Ddu0RvuNKGR/AVytQ5SyDDleb W+d7FU8VbsO6nPGyhffjw1zvLl8Csj92h2nFK7l3Vld09Y5/BQTo78JO1xTxd3JPD+ xyoS+QRiBa5iRbJCccM1+wUtYqtYzckhUjn+YWZPzPVmSPFARpX0hA5wun8TI/GrGr b55uuip0Fb6bFQK8IaDABR2gJlDgiIiYE5KWMANWfEtMLrARLL3+DgiTMZcXP37KsZ 72KFuIS5/6/mw== To: Bruno Haible From: Minsoo Choo Cc: bug-gnulib@gnu.org, Minsoo Choo Subject: Re: [PATCH silence -Wdeprecation-warning for sprintf on macOS] silence sprintf deprecation warning Message-ID: <5xk5yK7NEIYtbr6WuUhGQxOoet6FoP2IIT2V5hMYbPeiKMAI8ZbZlKDzQYrhJwH6sKxhcsi25w2t-01cO4o8ViIdNV-u5zIx-QamUqfrKnA=@proton.me> In-Reply-To: <1946242.8hb0ThOEGa@nimes> References: <20221125022831.51236-1-minsoochoo0122@proton.me> <1946242.8hb0ThOEGa@nimes> Feedback-ID: 45891198:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.130; envelope-from=minsoochoo0122@proton.me; helo=mail-40130.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, T_SPF_TEMPERROR=0.01 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 Sent with Proton Mail secure email. ------- Original Message ------- On Friday, November 25th, 2022 at 5:25 PM, Bruno Haible w= rote: > Minsoo Choo wrote: >=20 > > sprintf is deprecated on macOS. Silence this warning by silencing > > -Wdeprecated-declartions. >=20 >=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? >=20 > Bruno >=20 I am using macOS 13.0.1(darwin 22.1.0). I used clang, which is the default = compiler on macOS. I haven't set any specific CFLAGS/CPPFLAGS and build thr= ough './bootstrap && ./configure && ./make -j12'