Error compiling date_time with Sun Studio 11 on Solaris 8

Am getting the following error(s) when trying to include "boost/date_time/local_time/local_time.hpp" on the sun platform. Same code compiles ok on linux and windows. Error, nomatchoverin: Could not find a match for std::has_facet<std::Facet>(std::locale) needed in boost::gregorian::operator<<<char, std::char_traits<char>>(std::ostream &, const boost::gregorian::date&). Can anyone help ? -- View this message in context: http://www.nabble.com/Error-compiling-date_time-with-Sun-Studio-11-on-Solari... Sent from the Boost - Dev mailing list archive at Nabble.com.

On Tue, Sep 2, 2008 at 12:28 PM, ow <owatson@itrsgroup.com> wrote:
Am getting the following error(s) when trying to include "boost/date_time/local_time/local_time.hpp" on the sun platform. Same code compiles ok on linux and windows.
Error, nomatchoverin: Could not find a match for std::has_facet<std::Facet>(std::locale) needed in boost::gregorian::operator<<<char, std::char_traits<char>>(std::ostream &, const boost::gregorian::date&).
What kind of C++ standard library do you use: libCstd or stlport4? -- Simon Atanasyan
participants (2)
-
ow
-
Simon Atanasyan