From 4fab1b5d172a1713fe4e250a02c4731e5ee52aea Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sun, 21 Nov 2010 21:42:52 +0000 Subject: [PATCH] fix typeof bug on msvc-7.1 that is causing type_traits/common_type.hpp to fail to compile [SVN r66662] --- include/boost/typeof/msvc/typeof_impl.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100755 => 100644 include/boost/typeof/msvc/typeof_impl.hpp diff --git a/include/boost/typeof/msvc/typeof_impl.hpp b/include/boost/typeof/msvc/typeof_impl.hpp old mode 100755 new mode 100644 index 2f58c18..74ebc70 --- a/include/boost/typeof/msvc/typeof_impl.hpp +++ b/include/boost/typeof/msvc/typeof_impl.hpp @@ -153,7 +153,9 @@ namespace boost }; }; # endif -# if BOOST_WORKAROUND(BOOST_MSVC,==1310) +// EAN: preprocess this block out on advice of Peder Holt +// to eliminate errors in type_traits/common_type.hpp +# if 0 //BOOST_WORKAROUND(BOOST_MSVC,==1310) template struct msvc_typeid_wrapper { typedef typename msvc_extract_type::id2type id2type;