|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63958 - sandbox/SOC/2010/bit_masks/lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-07-13 08:49:13
Author: bbartman
Date: 2010-07-13 08:49:12 EDT (Tue, 13 Jul 2010)
New Revision: 63958
URL: http://svn.boost.org/trac/boost/changeset/63958
Log:
Fixing warning from MSVC 9 comming from test file
Text files modified:
sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/high_bit_mask_test.cpp 2010-07-13 08:49:12 EDT (Tue, 13 Jul 2010)
@@ -72,24 +72,12 @@
int main() {
-#ifdef BOOST_MSVC
-#pragma warning( push )
-#pragma warning( disable : 4307 ) // c4307 constant value overflow.
-#pragma warning( disable : 4309 ) // truncation of constant value.
-
-// Look into fixing this! I think i can actually fix this warning.
-#pragma warning( disable : 4305 ) // initializing truncation from const
- // boost::mpl::size_t<N>::value_type to const
- // arg.
-#endif
+
mpl::for_each< test_types >( type_tester() );
mpl::for_each< test_types_2 >( type_tester() );
mpl::for_each< test_types_3 >( type_tester() );
-#ifdef BOOST_MSVC
-#pragma warning( pop )
-#endif
return boost::report_errors();
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk