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

Alexander Strasser eclipse7 at gmx.net
Sun Apr 7 17:59:12 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 99608cb54..148db21d4 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