[MPlayer-dev-eng] [RFC][PATCH 8/8] configure: Set C standard to C11

Alexander Strasser eclipse7 at gmx.net
Thu Apr 4 01:41:24 EEST 2024


That is the minimum requirement for current FFmpeg git version.
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index a5ea10390..abc6e07ea 100755
--- a/configure
+++ b/configure
@@ -3003,7 +3003,7 @@ fi
 if test "$cc_vendor" = "gnu" ; then
   cflag_check -fno-tree-vectorize && CFLAGS="$CFLAGS -fno-tree-vectorize"
   cflag_check -Wundef && WARNFLAGS="-Wundef $WARNFLAGS"
-  cflag_check -std=gnu99 && WARN_CFLAGS="-std=gnu99 $WARN_CFLAGS"
+  cflag_check -std=c11 && WARN_CFLAGS="-std=c11 $WARN_CFLAGS"
   cflag_check -Wdeclaration-after-statement && WARN_CFLAGS="-Wdeclaration-after-statement $WARN_CFLAGS"
   cflag_check -Wno-pointer-sign && WARN_CFLAGS="-Wno-pointer-sign $WARN_CFLAGS"
   cflag_check -Wdisabled-optimization && WARN_CFLAGS="-Wdisabled-optimization $WARN_CFLAGS"
--


More information about the MPlayer-dev-eng mailing list