[FFmpeg-devel] [PATCH] configure: Silence warnings about constant unsigned overflows in MSVC

Michael Niedermayer michaelni at gmx.at
Mon Mar 16 15:34:32 CET 2015


unsigned overflows are well defined in C and used for example in crypto
and various other places.
None of the affected warnings currently shown points to an actual defect

untested

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 7ade46d..e7dce10 100755
--- a/configure
+++ b/configure
@@ -3258,6 +3258,7 @@ msvc_flags(){
                                        -wd4146 -wd4057 -wd4204 -wd4706 -wd4305 \
                                        -wd4152 -wd4324 -we4013 -wd4100 -wd4214 \
                                        -wd4554 \
+                                       -wd4307 \
                                        -wd4273 -wd4701 ;;
         esac
     done
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list