Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem on Boost using stlport4 on Sun C++
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-03 12:39:53


AMDG

a_disabatino wrote:
> I tried to use boost 1.34.1 and 1.36.0 same problems, I got this error:
>
> 1/boost/array.hpp", line 75: Error: Too few arguments for template std::reverse_iterator<boost::T*>.
> boost/boost_1_34_1/boost/array.hpp", line 289: Where: While specializing "boost::array<boost::T, boost::N>".
> boost/boost_1_34_1/boost/array.hpp", line 289: Where: Specialized in non-template code.
> /boost/boost_1_34_1/boost/array.hpp", line 76: Error: Too few arguments for template std::reverse_iterator<const boost::T*>.
> boost/boost_1_34_1/boost/array.hpp", line 289: Where: While specializing "boost::array<boost::T, boost::N>".
> boost/boost_1_34_1/boost/array.hpp", line 289: Where: Specialized in non-template code.
> "/opt/SUNWspro/prod/include/CC/Cstd/./iosfwd", line 148: Information: Library has instance std::ostringstream::basic_ostringstream(int).
> "/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 471: Information: Library has instance std::operator<<(std::ostream &, const char*).
> "/opt/SUNWspro/prod/include/CC/Cstd/./iosfwd", line 145: Information: Library has instance std::ostream::operator<<(unsigned).
> "/opt/SUNWspro/prod/include/CC/Cstd/./iosfwd", line 148: Information: Library has instance std::ostringstream::str() const.
> "/opt/SUNWspro/prod/include/CC/Cstd/./string", line 858: Information: Library has instance std::string::basic_string(const char*, const std::allocator<char>&).
>
> if I compile Boost using the flag -library=stlport4 i was able to solve that problem, but my applications uses libCstd Sun standard library
> since when I tried to link the library into my application I got core.
>
> So I'd like to compile boost just using libCstd I mean sun implementation.
>
> do you have some suggests on thi issue please

Boost only support sun with stlport. The default library is too
non-conformant.

In Christ,
Steven Watanabe


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