|
Boost : |
From: Gary Fu (gfu_at_[hidden])
Date: 2008-08-15 16:58:15
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 list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk