This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit f2da1955653c65d5230fb62fd4c7394e733fc3d8
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Sat Aug 22 17:14:44 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Sep 7 03:57:59 2026 +0000

    configure: remove obsolete MSVC workarounds
    
    The C11 requirement puts the MSVC floor at VS2019 16.8, so the VS2015
    version checks for the SSA optimizer bug and -utf-8 availability are
    always true, and cl in C11 mode accepts the inline keyword.
---
 configure | 21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)

diff --git a/configure b/configure
index 2a1207cf96..f671c708cf 100755
--- a/configure
+++ b/configure
@@ -8199,27 +8199,10 @@ elif enabled_any msvc icl; then
             disable ebx_available
         fi
     fi
-    # msvcrt10 x64 incorrectly enables log2, only msvcrt12 (MSVC 2013) onwards 
actually has log2.
-    check_cpp_condition log2 crtversion.h "_VC_CRT_MAJOR_VERSION >= 12"
-    # the new SSA optimizer in VS2015 U3 is mis-optimizing some parts of the 
code
-    # Issue has been fixed in MSVC v19.00.24218.
-    test_cpp_condition windows.h "_MSC_FULL_VER >= 190024218" ||
-        check_cflags -d2SSAOptimizer-
-    # enable utf-8 source processing on VS2015 U2 and newer
-    test_cpp_condition windows.h "_MSC_FULL_VER >= 190023918" &&
-        add_cflags -utf-8
+    # enable utf-8 source processing
+    check_cflags -utf-8
 fi
 
-for pfx in "" host_; do
-    varname=${pfx%_}cc_type
-    eval "type=\$$varname"
-    if [ "$type" = "msvc" ]; then
-        test_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline
-static inline int foo(int a) { return a; }
-EOF
-    fi
-done
-
 case $as_type in
     clang)
         add_asflags -Qunused-arguments

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to