diff options
author | Andy Polyakov <appro@openssl.org> | 2005-08-09 22:44:54 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-08-09 22:44:54 +0000 |
commit | df2a346b3082db5cd87bd288c825a35b6b088348 (patch) | |
tree | e89b39145f483c81d524dc93ea6b0b8ea8764db6 /util | |
parent | 270512ab1282fbc3bfd3fd7cf1b2aadd911da892 (diff) |
Suppress "deprecated" warnings introduced in VC8.
Diffstat (limited to 'util')
-rw-r--r-- | util/pl/VC-32.pl | 2 |
1 files changed, 2 insertions, 0 deletions
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"; |