diff --git a/call_traits_test.cpp b/call_traits_test.cpp index 03f5a3e..1da8e2e 100644 --- a/call_traits_test.cpp +++ b/call_traits_test.cpp @@ -193,14 +193,14 @@ int main(int argc, char *argv[ ]) int i = 2; c2(i); int* pi = &i; -#if defined(BOOST_MSVC6_MEMBER_TEMPLATES) || !defined(BOOST_NO_MEMBER_TEMPLATES) +#if (defined(BOOST_MSVC6_MEMBER_TEMPLATES) || !defined(BOOST_NO_MEMBER_TEMPLATES)) && !defined(__ICL) call_traits_checker c3; c3(pi); call_traits_checker c4; c4(i); call_traits_checker c5; c5(i); -#if !defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) +#if !defined (BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(__MWERKS__) int a[2] = {1,2}; call_traits_checker c6; c6(a); @@ -238,7 +238,7 @@ int main(int argc, char *argv[ ]) type_test(int&, boost::call_traits::reference) type_test(const int&, boost::call_traits::const_reference) type_test(int&, boost::call_traits::param_type) -#if !(defined(__GNUC__) && (__GNUC__ < 3)) +#if !(defined(__GNUC__) && (__GNUC__ < 4)) type_test(int&, boost::call_traits::value_type) type_test(int&, boost::call_traits::reference) type_test(const int&, boost::call_traits::const_reference)