From: Andy Polyakov Date: Tue, 9 Aug 2005 22:44:54 +0000 (+0000) Subject: Suppress "deprecated" warnings introduced in VC8. X-Git-Tag: OpenSSL_0_9_8k^2~1860 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=df2a346b3082db5cd87bd288c825a35b6b088348;ds=sidebyside Suppress "deprecated" warnings introduced in VC8. --- 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";