|
Boost Users : |
From: Ed Rubright - mail lists (mail-lists_at_[hidden])
Date: 2006-09-26 09:41:04
Jerry Jeremiah wrote:
> John Maddock <john <at> johnmaddock.co.uk> writes:
>
>
>> Parmentier Jean-Luc (DBB) wrote:
>>
>>> Hi,
>>>
>>> I want to use boost on ibm-aix with VisualAge C++ Professional / C for
>>> AIX Compiler, Version 6
>>> To do this:
>>> - I downloaded the version 1.33.1 of boost on sourceforge
>>> - I used the following configure statement to build the makefile
>>> configure --with-toolset=vacpp
>>> - I launched the make statement to build the libraries.
>>>
>> Unfortunately that compiler has dropped off our regular testing through the
>> lack of a volunteer
>>
>> Try defining BOOST_NO_SFINAE in boost/config/compiler/vacpp.hpp and see if
>> that fixes things.
>>
>> HTH, John.
>>
>>
>
> Hello,
>
> I would appreciate any help with this. I am not trying to build shared
> libraries - I am just trying to use the headers.
>
> I am trying to compile this test program on AIX with xlC (VisualAge C++
> Professional / C for AIX Compiler, Version 6):
>
> #include <iostream> // cout
> #include <vector> // vector
> #include <algorithm> // for_each
> #include "boost/lambda/lambda.hpp"
> using namespace boost::lambda;
> main() {
> std::vector<int> a;
> a.push_back(1);
> std::for_each(a.begin(), a.end(), std::cout << _1 << ' ');
> }
>
> And I get:
>
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-0219
> (S) The call to "detail::select" has no best match.
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1228
> (I) Argument number 1 is an lvalue of type "const
> boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda:
> :bitwise_action<boost::lambda::leftshift_action>,boost::tuples::tuple<std::basi
> c_ostream<char,std::char_traits<char> >
> &,boost::lambda::lambda_functor<boost::lambda::placeholder<1>
>
>> ,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,bo
>>
> ost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost:
> :tuples::null_type,boos...".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1228
> (I) Argument number 2 is an lvalue of type "int".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1228
> (I) Argument number 3 is an lvalue of type "const boost::tuples::null_type".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1228
> (I) Argument number 4 is an lvalue of type "const boost::tuples::null_type".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1228
> (I) Argument number 5 is an lvalue of type "const boost::tuples::null_type".
> "./boost/lambda/detail/select_functions.hpp", line 27.1: 1540-1202 (I) No
> candidate is better
> than "boost::lambda::detail::select<boost::lambda::lambda_functor_base<boost::l
> ambda::bitwise_action<boost::lambda::leftshift_action>,boost::tuples::tuple<std
> ::basic_ostream<char,std::char_traits<char> >
> &,boost::lambda::lambda_functor<boost::lambda::placeholder<1>
>
>> ,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,bo
>>
> ost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost:
> :tuples::null_type,boost::tuples::null_type>...".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 1 to "const
> boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda:
> :bitwise_action<boost::lambda::leftshift_action>,boost::tuples::tuple<std::basi
> c_ostream<char,std::char_traits<char> >
> &,boost::lambda::lambda_functor<boost::lambda::placeholder<1>
>
>> ,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,bo
>>
> ost::tuples::null_type,boost::tuples::null_type,boost::tuples::nu..."
> uses "the identity conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 2 to "int &" uses "the identity
> conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 3 to "const boost::tuples::null_type
> &" uses "the identity conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 4 to "const boost::tuples::null_type
> &" uses "the identity conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 5 to "const boost::tuples::null_type
> &" uses "the identity conversion".
> "./boost/lambda/detail/select_functions.hpp", line 22.13: 1540-1202 (I) No
> candidate is better than "boost::lambda::detail::select<const
> boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda:
> :bitwise_action<boost::lambda::leftshift_action>,boost::tuples::tuple<std::basi
> c_ostream<char,std::char_traits<char> >
> &,boost::lambda::lambda_functor<boost::lambda::placeholder<1>
>
>> ,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,bo
>>
> ost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,boost:
> :tuples:...".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 1 to "const
> boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda:
> :bitwise_action<boost::lambda::leftshift_action>,boost::tuples::tuple<std::basi
> c_ostream<char,std::char_traits<char> >
> &,boost::lambda::lambda_functor<boost::lambda::placeholder<1>
>
>> ,boost::tuples::null_type,boost::tuples::null_type,boost::tuples::null_type,bo
>>
> ost::tuples::null_type,boost::tuples::null_type,boost::tuples::nu..."
> uses "the identity conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 2 to "int &" uses "the identity
> conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 3 to "const boost::tuples::null_type
> &" uses "the identity conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 4 to "const boost::tuples::null_type
> &" uses "the identity conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-1231
> (I) The conversion from argument number 5 to "const boost::tuples::null_type
> &" uses "the identity conversion".
> "./boost/lambda/detail/operator_lambda_func_base.hpp", line 212.1: 1540-0700
> (I) The previous message was produced while
> processing "boost::lambda::lambda_functor_base<class
> boost::lambda::bitwise_action<boost::lambda::leftshift_action>,class
> boost::tuples::tuple<boost::lambda::lambda_functor<boost::lambda::lambda_functo
> r_base<boost::lambda::bitwise_action<boost::lambda::leftshift_action>,boost::tu
> ples::tuple<std::basic_ostream<char,std::char_traits<char> >
> &,boost::lambda::lambda_functor<boost::lambda::placeholder<1>
>
>> ,boost::tuples::null_type,boost::tuples::null_t...".
>>
> "./boost/lambda/detail/lambda_functors.hpp", line 145.3: 1540-0700 (I) The
> previous message was produced while
> processing "boost::lambda::lambda_functor<class
> boost::lambda::lambda_functor_base<boost::lambda::bitwise_action<boost::lambda:
> :leftshift_action>,boost::tuples::tuple<boost::lambda::lambda_functor<boost::la
> mbda::lambda_functor_base<boost::lambda::bitwise_action<boost::lambda::leftshif
> t_action>,boost::tuples::tuple<std::basic_ostream<char,std::char_traits<char>
>
>> &,boost::lambda::lambda_functor<boost::lambda::placeholder<1>
>> ,boost::tuples::null_ty...".
>>
> "/usr/vacpp/include/algorithm", line 77.13: 1540-0700 (I) The previous message
> was produced while processing "std::for_each<std::_Ptrit<int,long,int *,int
> &,int *,int
> &>,boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lamb
> da::bitwise_action<boost::lambda::leftshift_action>,boost::tuples::tuple<boost:
> :lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::bitwi
> se_action<boost::lambda::leftshift_action>,boost::tuples::tuple<std::basic_ostr
> eam<char,std::char_traits<char> > &,boost::lambda::lambda_functor<...".
> "test.cpp", line 12.3: 1540-0700 (I) The previous message was produced while
> processing "main()".
>
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
I have successfully built the Boost filesystem library as a shared
library as well as built other shared libraries that use Boost smart
pointers on IBM VisualAge version6.
What I have found that works is to specify
-DBOOST_NO_INCLASS_MEMBER_INITIALIZATION. I specify this on the bjam
cmd-line to build Boost filesystem as a shared library as well as my
build of my own SO which uses smart pointers and filesystem.
Hope this helps,
Ed
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net