[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH silence -Wdeprecation-warning for sprintf on macOS] silence s
From: |
Minsoo Choo |
Subject: |
Re: [PATCH silence -Wdeprecation-warning for sprintf on macOS] silence sprintf deprecation warning |
Date: |
Sat, 26 Nov 2022 04:13:54 +0000 |
Sent with Proton Mail secure email.
------- Original Message -------
On Friday, November 25th, 2022 at 5:25 PM, 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?
>
> Bruno
>
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 through
'./bootstrap && ./configure && ./make -j12'