]> git.sesse.net Git - ffmpeg/commitdiff
configure: Remove all C standard versions from the MSVC command line.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Wed, 25 Mar 2020 22:59:11 +0000 (23:59 +0100)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Thu, 26 Mar 2020 22:46:40 +0000 (23:46 +0100)
Silences a warning for every file when compiling with clang-cl.exe

configure

index 18f2841765fc1ac2f362c8f014fcedb5be700b55..90aaab92a9cc7efa7ec2c6b910ebc252d9121ce1 100755 (executable)
--- a/configure
+++ b/configure
@@ -4420,7 +4420,7 @@ msvc_common_flags(){
             # generic catch all at the bottom will print the original flag.
             -Wall)                ;;
             -Wextra)              ;;
-            -std=c99)             ;;
+            -std=c*)              ;;
             # Common flags
             -fomit-frame-pointer) ;;
             -g)                   echo -Z7 ;;