aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-09-05 21:39:20 +0300
committerMartin Storsjö <martin@martin.st>2012-09-05 23:20:24 +0300
commit4a185ed2d464c73b443dfad4ae9f736270027459 (patch)
treec717b6779d580d6c8b472183d096a9bdb7dd7f00 /configure
parentd914ea6fd87dade00aade52db4407a2656df7a79 (diff)
downloadffmpeg-4a185ed2d464c73b443dfad4ae9f736270027459.tar.gz
configure: Disable some warnings in MSVC
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) Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index ca6fd60e49..25a56e7043 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) ;;