From df2a346b3082db5cd87bd288c825a35b6b088348 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 9 Aug 2005 22:44:54 +0000 Subject: [PATCH] Suppress "deprecated" warnings introduced in VC8. --- util/pl/VC-32.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 936e0319bd..7932cb005a 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -26,6 +26,7 @@ if ($FLAVOR =~ /WIN64/) # considered safe to ignore. # $base_cflags=' /W3 /Gs0 /GF /Gy /nologo -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DOPENSSL_SYSNAME_WIN32 -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE'; + $base_cflags.='-D_CRT_SECURE_NO_DEPRECATE'; # shut up VC8 $opt_cflags=' /MD /Ox'; $dbg_cflags=' /MDd /Od -DDEBUG -D_DEBUG'; $lflags="/nologo /subsystem:console /opt:ref"; @@ -87,6 +88,7 @@ elsif ($FLAVOR =~ /CE/) else # Win32 { $base_cflags=' /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32'; + $base_cflags.='-D_CRT_SECURE_NO_DEPRECATE'; # shut up VC8 $opt_cflags=' /MD /Ox /O2 /Ob2'; $dbg_cflags=' /MDd /Od -DDEBUG -D_DEBUG'; $lflags="/nologo /subsystem:console /machine:I386 /opt:ref"; -- 2.25.1