Boost logo

Boost :

Subject: [boost] [serialization]cannot build libboost_serialization.so.1.60.0 with Oracle Solaris Studio
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2015-10-27 11:16:45


I see the following error when compiling Boost 1.60 in develop branch
with Oracle Solaris Studio development compiler with -library=stlport4.

     "CC" -compat=5 -library=stlport4 -temp=/tmp/bn -xO4 -mt
-erroff=%none -m32 -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I".." -c -o
"/export/home/sstrunk-tester/boost_regression/boost_regression_develop/boost_sparc-S2_stlport4/results/boost/bin.v2/libs/serialization/build/sun-next_stlport4/release/link-static/threading-multi/basic_text_iprimitive.o"
"../libs/serialization/src/basic_text_iprimitive.cpp"

"../boost/archive/basic_streambuf_locale_saver.hpp", line 75: Error:
sync is not a member of std::ios .
"../boost/archive/impl/basic_text_iprimitive.ipp", line 112: Where:
While instantiating "boost::archive::basic_ios_locale_saver<char,
std::char_traits<char>>::~basic_ios_locale_saver()".
"../boost/archive/impl/basic_text_iprimitive.ipp", line 112: Where:
Instantiated from
boost::archive::basic_text_iprimitive<std::istream>::basic_text_iprimitive(std::istream
&, bool).
"../libs/serialization/src/basic_text_iprimitive.cpp", line 25: Where:
Instantiated from non-template code.
1 Error(s) detected.

This seems to prevent building libboost_serialization.so.1.60.0, and a
recent regression after changes to the serialization library.

Thanks,

Aparna


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