[FFmpeg-devel] [PATCH 2/2] configure: check for C17 by default

Michael Niedermayer michael at niedermayer.cc
Tue Mar 19 23:21:52 EET 2024


On Tue, Mar 19, 2024 at 03:58:18PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  configure | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index b10d081549..a9a9a65ca2 100755
> --- a/configure
> +++ b/configure
> @@ -4012,7 +4012,7 @@ mandir_default='${prefix}/share/man'
>  # toolchain
>  ar_default="ar"
>  cc_default="gcc"
> -stdc_default="c11"
> +stdc_default="c17"
>  stdcxx_default="c++11"
>  cxx_default="g++"
>  host_cc_default="gcc"

That breaks build here

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The smallest minority on earth is the individual. Those who deny 
individual rights cannot claim to be defenders of minorities. - Ayn Rand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240319/d64e53f6/attachment.sig>


More information about the ffmpeg-devel mailing list