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 18f2841..90aaab9 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 ;;