Boost logo

Boost :

Subject: Re: [boost] [filesystem] 1.36.0 regression tests fail on Solaris with Sun C++ 5.9
From: Simon Atanasyan (atanasyan_at_[hidden])
Date: 2008-09-18 03:50:39


On Thu, Sep 18, 2008 at 2:45 AM, Boris <boriss_at_[hidden]> wrote:
> When I run the regression tests for Boost.Filesystem on Solaris with Sun C++
> 5.9 I get this error:
>
> sun.compile.c++
> ../../../bin.v2/libs/filesystem/build/sun/debug/link-static/operations.o
> "../../../libs/filesystem/src/operations.cpp", line 1060: Error: Cannot use
> std::pair<boost::system::error_code, int> to initialize
> std::pair<boost::system::error_code, unsigned long long>.
> "../../../libs/filesystem/src/operations.cpp", line 1062: Error: Cannot use
> std::pair<boost::system::error_code, int> to initialize
> std::pair<boost::system::error_code, unsigned long long>.
> "../../../libs/filesystem/src/operations.cpp", line 1096: Error: Cannot use
> std::pair<boost::system::error_code, int> to initialize
> std::pair<boost::system::error_code, long>.
> 3 Error(s) detected.
>
> "CC" +d -g -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1
> -DBOOST_SYSTEM_STATIC_LINK=1 -I"../../.." -c -o
> "../../../bin.v2/libs/filesystem/build/sun/debug/link-static/operations.o"
> "../../../libs/filesystem/src/operations.cpp"
>
> Is this a known problem?

The -library=stlport4 command line option are missed. Boost library
should be built and used with this option.

-- 
Simon Atanasyan

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk