[FFmpeg-cvslog] configure: Remove all C standard versions from the MSVC command line.

Carl Eugen Hoyos git at videolan.org
Fri Mar 27 00:47:35 EET 2020


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Wed Mar 25 23:59:11 2020 +0100| [580d13e73d8f2d9dcd6b857ac8ec8a89377fbfda] | committer: Carl Eugen Hoyos

configure: Remove all C standard versions from the MSVC command line.

Silences a warning for every file when compiling with clang-cl.exe

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=580d13e73d8f2d9dcd6b857ac8ec8a89377fbfda
---

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 18f2841765..90aaab92a9 100755
--- 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 ;;



More information about the ffmpeg-cvslog mailing list