
Roman Morokutti wrote:
I am trying to compile the boost libraries. I encountered a compile error with bcc32:
Error E2437 D:\boost\boost_1_32_0\boost/function/function_base.hpp 598(55): 'typename' should be followed by a qualified, dependent type name
BCC has its own ideas about when or when not to use typename, due to its inability to see the type's dependent. 66,68c66,78 < #define BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL(Functor,Type) \ < typename ::boost::enable_if_c<(::boost::type_traits::ice_not< \ < (::boost::is_integral<Functor>::value)>::value), \ ---
#if !BOOST_WORKAROUND(__BORLANDC__, < 0x600) # # define BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL(Functor,Type) \ typename ::boost::enable_if_c<(::boost::type_traits::ice_not< \ (::boost::is_integral<Functor>::value)>::value), \ Type>::type # #else # // BCC doesn't recognize this depends on a template argument and complains # // about the use of 'typename' # define BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL(Functor,Type) \ ::boost::enable_if_c<(::boost::type_traits::ice_not< \ (::boost::is_integral<Functor>::value)>::value), \ 70c80,81 <
# #endif