Boost logo

Boost :

Subject: [boost] [Boost 1.41: list_of] Boost compliation error, Sun Studio 11 using standard C++ lib
From: shing fan (shingfan_at_[hidden])
Date: 2010-01-02 17:26:02


Hi,

 
I'm having trouble building Boost headers (e.g. <boost/assign/list_of.hpp> ) with Sun Studio 11 using standard C++ library. I have no problem when i build the headers using the stlport lib. However, due to some restrictions, i have to use the standard c++ lib but not the stlport lib. Does anyone know whether it is possible to complie the following headers using sun studio 11 with ONLY the standard C++ library? I'm okay to use even 1.38 as long as i can compile it with Sun Studio 11 using ONLY the C++ standard library.

 
Sample Error Message:
 
"/Utilities/Boost/boost_1_41_0/boost/integer_fwd.hpp", line 70: Error: long_long_type is not a member of boost.
"/Utilities/Boost/boost_1_41_0/boost/integer_fwd.hpp", line 70: Error: Template parameter boost::T requires a type argument.
"/Utilities/Boost/boost_1_41_0/boost/integer_fwd.hpp", line 73: Error: ulong_long_type is not a member of boost.
"/Utilities/Boost/boost_1_41_0/boost/integer_fwd.hpp", line 73: Error: Template parameter boost::T requires a type argument.
4 Error(s) detected.
 
List of headers desired to build:
#include <boost/algorithm/string.hpp>
#include <boost/version.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/utility.hpp>
#include <boost/type_traits/is_convertible.hpp>
#include <boost/assign/list_of.hpp>

Thanks
                                               
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
http://go.microsoft.com/?linkid=9691817


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