From b68578415578e46e387082e7df32a05c14dd1858 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 4 Sep 2004 10:34:49 +0000 Subject: [PATCH] Added new types boost::long_long_type and boost::ulong_long_type in boost/config.hpp and applied these types in place of "long long" throughout. As a result, almost all of boost now compiles cleanly with -ansi -pedantic with gcc. Changes tested with gcc 3.3, 2.95, VC7.1 and Intel 8. [SVN r24899] --- numeric_traits_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/numeric_traits_test.cpp b/numeric_traits_test.cpp index c9fdd7d..20a9584 100644 --- a/numeric_traits_test.cpp +++ b/numeric_traits_test.cpp @@ -374,8 +374,8 @@ int main() test(); test(); #if defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_INTEGRAL_INT64_T) - test(); - test(); + test< ::boost::long_long_type>(); + test< ::boost::ulong_long_type>(); #elif defined(BOOST_MSVC) // The problem of not having compile-time static class constants other than // enums prevents this from working, since values get truncated.