These are more appropriate warning level equivalents.
---

Updated to disable a few warnings that -W3 enables but we disabled
even for -W4 so that we don't get more warnings than before.

 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index f186753..974eb4c 100755
--- a/configure
+++ b/configure
@@ -3044,6 +3044,7 @@ msvc_common_flags(){
             # specific filters, they must be specified here as well or else the
             # generic catch all at the bottom will print the original flag.
             -Wall)                ;;
+            -Wextra)              ;;
             -std=c99)             ;;
             # Common flags
             -fomit-frame-pointer) ;;
@@ -3067,7 +3068,9 @@ msvc_flags(){
     msvc_common_flags "$@"
     for flag; do
         case $flag in
-            -Wall)                echo -W4 -wd4244 -wd4127 -wd4018 -wd4389     
\
+            -Wall)                echo -W3 -wd4018 -wd4146 -wd4244 -wd4305     
\
+                                       -wd4554 ;;
+            -Wextra)              echo -W4 -wd4244 -wd4127 -wd4018 -wd4389     
\
                                        -wd4146 -wd4057 -wd4204 -wd4706 -wd4305 
\
                                        -wd4152 -wd4324 -we4013 -wd4100 -wd4214 
\
                                        -wd4273 -wd4554 -wd4701 -wd4703 ;;
-- 
2.1.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to