
Markus Sch?pflin wrote:
Vladimir Prus wrote:
Hello, just before feature freeze, I've committed some changes to program_options:
Seems like this broke program_options on Tru64/cxx.
Did it work before? I recall some bind-releated problems on this platform were present previously.
cxx: Error: /vol2/boost/boost/boost/bind.hpp, line 978: #266 "value" is ambiguous detected during: instantiation of class "boost::_bi::add_value<T> [with T=boost::program_options::detail::cmdline *]" at line 1055 instantiation of class "boost::_bi::list_av_2<A1, A2> [with A1=boost::program_options::detail::cmdline *, A2=boost::arg<1>]" at line 200 of
Can you modify that line, replacing: template<class T> struct add_value { typedef value<T> type; }; template<class T> struct add_value< value<T> > { typedef value<T> type; }; with template<class T> struct add_value { typedef boost::_bi::value<T> type; }; template<class T> struct add_value< value<T> > { typedef boost::_bi::value<T> type; }; ? Looks like the compiler is incorrectly considering both boost::_bi::value (bind internal) and boost::program_options::value. Thanks, Volodya