Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-04-26 05:42:21


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. This is what I get when
compiling the regression tests:

    cxx -c -timplicit_local -ptr
"/vol2/boost/results/bin/boost/libs/program_options/build/libboost_program_options.a/tru64cxx65-042/debug/threading-mult
i/cxx_repository" -noimplicit_include -D__USE_STD_IOSTREAM -nousing_std
-msg_display_number -msg_disable 186,450,1115 -g -O0 -pthread -inline none -v
ersion V6.5-042 -ieee -model ansi
-I"/vol2/boost/results/bin/boost/libs/program_options/build"
-I"/vol2/boost/boost" -I"/usr/include" -I"/vol2/boos
t/boost" -o
"/vol2/boost/results/bin/boost/libs/program_options/build/libboost_program_options.a/tru64cxx65-042/debug/threading-multi/cmdline.o"
  "/vol
2/boost/boost/libs/program_options/build/../src/cmdline.cpp"

cxx: Warning:
/vol2/boost/boost/libs/program_options/build/../src/cmdline.cpp, line 191:
#767-D
           conversion from pointer to smaller integer
         assert(m_desc);
--------^
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
 
"/vol2/boost/boost/libs/program_options/build/../src/cmdl
                       ine.cpp"
     typedef value<T> type;
------------^
cxx: Error: /vol2/boost/boost/boost/bind.hpp, line 264: #266 "value" is
           ambiguous
           detected during:
             instantiation of class "boost::_bi::list2<A1, A2> [with
 
A1=boost::_bi::list_av_2<boost::program_options::detail::
                       cmdline *, boost::arg<1>>::B1,
 
A2=boost::_bi::list_av_2<boost::program_options::detail::
                       cmdline *, boost::arg<1>>::B2]" at line 161 of
                       "/vol2/boost/boost/boost/bind/bind_template.hpp"
             instantiation of class "boost::_bi::bind_t<R, F, L> [with
                       R=std::vector<boost::program_options::option,
                       std::allocator<boost::program_options::option>>,
 
F=boost::_mfi::mf1<std::vector<boost::program_options::op
                       tion, std::allocator<boost::program_options::option>>,
                       boost::program_options::detail::cmdline,
                       std::vector<std::string, std::allocator<std::string>>
                       &>,
 
L=boost::_bi::list2<boost::_bi::list_av_2<boost::program_
                       options::detail::cmdline *, boost::arg<1>>::B1,
 
boost::_bi::list_av_2<boost::program_options::detail::cmd
                       line *, boost::arg<1>>::B2>]" at line 200 of
 
"/vol2/boost/boost/libs/program_options/build/../src/cmdl
                       ine.cpp"
     template<class T> T & operator[] (value<T> & v) const { return v.get(); }
--------------------------------------^
cxx: Error: /vol2/boost/boost/boost/bind.hpp, line 266: #266 "value" is
           ambiguous
           detected during:
             instantiation of class "boost::_bi::list2<A1, A2> [with
 
A1=boost::_bi::list_av_2<boost::program_options::detail::
                       cmdline *, boost::arg<1>>::B1,
 
A2=boost::_bi::list_av_2<boost::program_options::detail::
                       cmdline *, boost::arg<1>>::B2]" at line 161 of
                       "/vol2/boost/boost/boost/bind/bind_template.hpp"
             instantiation of class "boost::_bi::bind_t<R, F, L> [with
                       R=std::vector<boost::program_options::option,
                       std::allocator<boost::program_options::option>>,
 
F=boost::_mfi::mf1<std::vector<boost::program_options::op
                       tion, std::allocator<boost::program_options::option>>,
                       boost::program_options::detail::cmdline,
                       std::vector<std::string, std::allocator<std::string>>
                       &>,
 
L=boost::_bi::list2<boost::_bi::list_av_2<boost::program_
                       options::detail::cmdline *, boost::arg<1>>::B1,
 
boost::_bi::list_av_2<boost::program_options::detail::cmd
                       line *, boost::arg<1>>::B2>]" at line 200 of
 
"/vol2/boost/boost/libs/program_options/build/../src/cmdl
                       ine.cpp"
     template<class T> T const & operator[] (value<T> const & v) const {
return v.get(); }
--------------------------------------------^
cxx: Info: 3 errors detected in the compilation of
"/vol2/boost/boost/libs/program_options/build/../src/cmdline.cpp".


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk