Boost::regex: Removing Forte CC compiler warnings

Hi, Any suggestions on removing these compiler warnings (CC: Sun C++ 5.5 2003/03/12 ) : /usr/local/boost_regex/include/boost/type_traits/is_convertible.hpp", line 279: Warning (Anachronism): Type names qualified by template parameters require "typename". "/usr/local/boost_regex/include/boost/type_traits/is_convertible.hpp", line 279: Where: While specializing "boost::is_convertible<boost::From, boost::To>". "/usr/local/boost_regex/include/boost/type_traits/is_convertible.hpp", line 279: Where: Specialized in non-template code. "/usr/local/boost_regex/include/boost/type_traits/is_convertible.hpp", line 279: Warning (Anachronism): Type names qualified by template parameters require "typename". "/usr/local/boost_regex/include/boost/type_traits/is_convertible.hpp", line 279: Where: While specializing "boost::is_convertible<boost::From, boost::To>". "/usr/local/boost_regex/include/boost/type_traits/is_convertible.hpp", line 279: Where: Specialized in non-template code. Line 279: /usr/local/boost_regex/include/boost/type_traits/is_convertible.hpp BOOST_TT_AUX_BOOL_TRAIT_DEF2(is_convertible,From,To,(::boost::detail::is_convertible_impl<From,To>::value)) -- Regards Rajesh

Any suggestions on removing these compiler warnings (CC: Sun C++ 5.5 2003/03/12
Get Sun to fix to fix their compiler! ;-) I'm aware of these warnings: they're a major pain in the you-know-where, and they are completely spurious: the compiler is complaining that there is a missing typename keyword, but in fact adding one would yield illegal code (there expressions that generate the warnings do *not* refer to types). John.
participants (2)
-
John Maddock
-
Rajesh Radhakrishnan