This disables the following warnings:
C4100: unreferenced formal parameter
 (1035 occurrances)
C4214: nonstandard extension used : bit field types other than int
 (609 occurances)
C4996: 'avpriv_snprintf': This function or variable may be unsafe.
       Consider using _snprintf_s instead. To disable deprecation,
       use _CRT_SECURE_NO_WARNINGS. See online help for details.
 (351 occurrances)
---
 configure |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 562a6fb..ccf1761 100755
--- a/configure
+++ b/configure
@@ -2104,7 +2104,8 @@ msvc_flags(){
             -g)                   echo -Z7 ;;
             -Wall)                echo -W4 -wd4244 -wd4127 -wd4018 -wd4389 \
                                        -wd4146 -wd4057 -wd4204 -wd4706 -wd4305 
\
-                                       -wd4152 -wd4324 -we4013 ;;
+                                       -wd4152 -wd4324 -we4013 -wd4100 -wd4214 
\
+                                       -wd4996 ;;
             -std=c99)             ;;
             -fno-math-errno)      ;;
             -fno-common)          ;;
-- 
1.7.9.5

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

Reply via email to