From 0a560dd54321439d169837e22f0c28cfb8c35f61 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 30 Jan 2002 20:02:11 +0000 Subject: [PATCH] Suppress warnings for MinGW [SVN r12588] --- include/boost/cast.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/cast.hpp b/include/boost/cast.hpp index 1311d3a..fcbad0d 100644 --- a/include/boost/cast.hpp +++ b/include/boost/cast.hpp @@ -121,7 +121,7 @@ namespace boost // numeric_cast ------------------------------------------------------------// -#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS +#if !defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) || defined(BOOST_SGI_CPP_LIMITS) namespace detail { @@ -295,7 +295,7 @@ namespace boost typedef std::numeric_limits arg_traits; typedef detail::fixed_numeric_limits result_traits; -#ifndef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS +#if !defined(BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS) || defined(BOOST_SGI_CPP_LIMITS) // typedefs that act as compile time assertions // (to be replaced by boost compile time assertions // as and when they become available and are stable)