Boost logo

Boost Users :

From: Gary Fu (gfu_at_[hidden])
Date: 2008-08-18 13:24:47


Hi,

Could anyone help why the AIX (5.3) xlC complains on the include file 'static_move_ptr.hpp' and
how to solve the problem if possible ?
I tried on Linux g++ without problem.

Thanks,
Gary

8:52pm > xlC -I $HOME/BOOST/boost_1_36_0 example.cpp -o example
"/home_dir/Ggfu/BOOST/boost_1_36_0/boost/ptr_container/detail/static_move_ptr.hpp", line 182.22: 1540-2611 (S) The name "typename move_ptrs::enable_if_convertible<TT,T,boost::ptr_container_detail::static_move_ptr &>::type::type" can only be used to declare a constructor.

#include <boost/ptr_container/detail/static_move_ptr.hpp>

#include <iostream>
#include <string>

using namespace std;

int main() {

 //print out the text string, "Hello, World!"
 cout << "Hello, World!" << endl;

 return 0;

}


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