From d24a45f354b35e024aa2904bd90d3c7f1179f260 Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 7 May 2007 09:34:36 +0000 Subject: [PATCH] Ignore boost timer warnings in msvc. --- src/core/boost/timer.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/core/boost/timer.hpp b/src/core/boost/timer.hpp index 583d4c47..19e2fd72 100644 --- a/src/core/boost/timer.hpp +++ b/src/core/boost/timer.hpp @@ -13,10 +13,19 @@ #pragma once #endif +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4244) +#endif + // -------------------------- Includes -------------------------- #include "boost/timer/implementation.hpp" #include "boost/timer/devices.hpp" #include "boost/timer/typedefs.hpp" +#ifdef _MSC_VER +#pragma warning(pop) +#endif + #endif // BOOST_TIMER_HPP