From 5e4be184a388e227a83fa3cd170fba56ae5afd18 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 2 Nov 2006 12:44:33 +0000 Subject: [PATCH] added defines for msvc to disable bogus warnings --- Jamfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jamfile b/Jamfile index ad186d2ce..4416cfcaa 100755 --- a/Jamfile +++ b/Jamfile @@ -109,6 +109,10 @@ project torrent # these compiler settings just makes the compiler standard conforming msvc:/Zc:wchar_t msvc:/Zc:forScope +# disable bogus deprecation warnings on msvc8 + msvc:_SCL_SECURE_NO_DEPRECATE + msvc:_CRT_SECURE_NO_DEPRECATE + # this should be defined when libtorrent is built as # a dll. It will make sure the functions and classes # are exported (GCC 4 and msvc)