In building the boost/python library on solaris using v6.2.p2 of the
sunpro compiler, two compile-time errors occur, one in 'cast.hpp' and
the other in 'inheritance.hpp'. Details are below.
--bruce
----------------- 1 --------------------
boost/boost/python/cast.hpp: line 65:
Error: Default arguments cannot be added in later
declarations of the template function in
the same scope.
57 template
58 inline Target* downcast(Source* p, yes_convertible)
59 {
60 return static_cast(p);
61 }
62
63 template
64 inline Target* downcast(Source* p, no_convertible,
boost::type<Target>* = 0)
***
65 {
***
66 typedef typename base_type_traits<Source>::type base;
67 return (Target*)detail::downcast<base>(p,
convertible