[C++-sig] V2 and icc 5.0 for Linux

Peter Bienstman pbienst at MIT.EDU
Wed Apr 10 17:02:42 CEST 2002


Is the Intel Compiler V5 for Linux supported with BPL V2? The tests seem
to compile fine, but for my own project, I get tons of errors like this:
(Unfortunately, it's doesn't give me a line number in my own code, so
it's hard to distill a test case)

BTW: gcc worked fine

"/home/pbienst/boost_cvs/boost/boost/bind.hpp", line 298: error: "arg"
is ambiguous
      A2 operator[] (arg<2>) const { return a2_; }
                     ^
          detected during:
            instantiation of class "boost::_bi::list4<A1, A2, A3, A4>
[with A1=boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B1,
A2=boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B2,
A3=boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B3,
A4=boost::_bi::list_av_4<void (*)(Real={double}),
                      boost::arg<1>, boost::arg<2>,
boost::python::default_call_policies>::B4]" at line 157 of
"/home/pbienst/boost_cvs/boost/boost/bind/bind_template.hpp"
            instantiation of class "boost::_bi::bind_t<R, F, L> [with
R=PyObject *, F=boost::python::detail::caller,
L=boost::_bi::list4<boost::_bi::list_av_4<void (*)(Real={double}),
boost::arg<1>, boost::arg<2>, boost::python::default_call_policies>::B1,
boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B2,
boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B3,
                      boost::_bi::list_av_4<void (*)(Real={double}),
boost::arg<1>, boost::arg<2>,
boost::python::default_call_policies>::B4>]" at line 1171
            instantiation of "boost::_bi::bind_t<R, F,
boost::_bi::list_av_4<A1, A2, A3, A4>::type>
boost::bind<R,F,A1,A2,A3,A4>(F, A1, A2, A3, A4) [with R=PyObject *,
F=boost::python::detail::caller, A1=void (*)(Real={double}),
A2=boost::arg<1>, A3=boost::arg<2>,
A4=boost::python::default_call_policies]" at line 25 of
"/home/pbienst/boost_cvs/boost/boost/python/make_function.hpp"
            instantiation of "boost::python::objects::function
*boost::python::make_function(F) [with F=void (*)(Real={double})]" at
line 41 of "/home/pbienst/boost_cvs/boost/boost/python/module.hpp"
            instantiation of "boost::python::module
&boost::python::module::def(const char *, Fn) [with Fn=void
(*)(Real={double})]" 

"/home/pbienst/boost_cvs/boost/boost/bind.hpp", line 298: error: cannot
overload functions distinguished by return type alone
      A2 operator[] (arg<2>) const { return a2_; }
         ^
          detected during:
            instantiation of class "boost::_bi::list4<A1, A2, A3, A4>
[with A1=boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B1,
A2=boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B2,
A3=boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B3,
A4=boost::_bi::list_av_4<void (*)(Real={double}),
                      boost::arg<1>, boost::arg<2>,
boost::python::default_call_policies>::B4]" at line 157 of
"/home/pbienst/boost_cvs/boost/boost/bind/bind_template.hpp"
            instantiation of class "boost::_bi::bind_t<R, F, L> [with
R=PyObject *, F=boost::python::detail::caller,
L=boost::_bi::list4<boost::_bi::list_av_4<void (*)(Real={double}),
boost::arg<1>, boost::arg<2>, boost::python::default_call_policies>::B1,
boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B2,
boost::_bi::list_av_4<void (*)(Real={double}), boost::arg<1>,
boost::arg<2>, boost::python::default_call_policies>::B3,
                      boost::_bi::list_av_4<void (*)(Real={double}),
boost::arg<1>, boost::arg<2>,
boost::python::default_call_policies>::B4>]" at line 1171
            instantiation of "boost::_bi::bind_t<R, F,
boost::_bi::list_av_4<A1, A2, A3, A4>::type>
boost::bind<R,F,A1,A2,A3,A4>(F, A1, A2, A3, A4) [with R=PyObject *,
F=boost::python::detail::caller, A1=void (*)(Real={double}),
A2=boost::arg<1>, A3=boost::arg<2>,
A4=boost::python::default_call_policies]" at line 25 of
"/home/pbienst/boost_cvs/boost/boost/python/make_function.hpp"
            instantiation of "boost::python::objects::function
*boost::python::make_function(F) [with F=void (*)(Real={double})]" at
line 41 of "/home/pbienst/boost_cvs/boost/boost/python/module.hpp"
            instantiation of "boost::python::module
&boost::python::module::def(const char *, Fn) [with Fn=void
(*)(Real={double})]"  








More information about the Cplusplus-sig mailing list