Boost logo

Boost :

From: VENNIN Joel (joel.vennin_at_[hidden])
Date: 2007-04-12 11:25:09


Hello, i have lots of code using boost(1.33.1). It is a really great
API. However, now I have to compile my code on a Solaris SPARC. I must
use the Sun Compiler CC: Sun C++ 5.8 Patch 121017-10 2007/02/21.

Using this compiler my code cannot be compiled. So, I've tested one of
the date_time example(Simple Timezone) provided by your website:
http://www.boost.org/doc/html/date_time/examples.html#date_time.examples
.simple_time_zone

I get the following error:

"/export/home/venninj/opt/boost/1.33.1/include/boost-1_33_1/boost/date_t
ime/posix_time/posix_time_io.hpp", line 189: Error: Could not find a
match for std::has_facet<std::Facet>(std::locale) needed in
boost::posix_time::operator<<<char, std::char_traits<char>>(std::ostream
&, const boost::posix_time::time_duration&).

"/export/home/venninj/opt/boost/1.33.1/include/boost-1_33_1/boost/date_t
ime/posix_time/posix_time_io.hpp", line 190: Error: Could not find a
match for std::use_facet<std::Facet>(std::locale) needed in
boost::posix_time::operator<<<char, std::char_traits<char>>(std::ostream
&, const boost::posix_time::time_duration&).

"/export/home/venninj/opt/boost/1.33.1/include/boost-1_33_1/boost/date_t
ime/posix_time/posix_time_io.hpp", line 190: Error: Could not find a
match for std::use_facet<std::Facet>(std::locale) needed in
boost::posix_time::operator<<<char, std::char_traits<char>>(std::ostream
&, const boost::posix_time::time_duration&).

"/export/home/venninj/opt/boost/1.33.1/include/boost-1_33_1/boost/date_t
ime/posix_time/posix_time_io.hpp", line 50: Error: Could not find a
match for std::has_facet<std::Facet>(std::locale) needed in
boost::posix_time::operator<<<char, std::char_traits<char>>(std::ostream
&, const boost::posix_time::ptime&).

"/export/home/venninj/opt/boost/1.33.1/include/boost-1_33_1/boost/date_t
ime/posix_time/posix_time_io.hpp", line 51: Error: Could not find a
match for std::use_facet<std::Facet>(std::locale) needed in
boost::posix_time::operator<<<char, std::char_traits<char>>(std::ostream
&, const boost::posix_time::ptime&).

"/export/home/venninj/opt/boost/1.33.1/include/boost-1_33_1/boost/date_t
ime/posix_time/posix_time_io.hpp", line 51: Error: Could not find a
match for std::use_facet<std::Facet>(std::locale) needed in
boost::posix_time::operator<<<char, std::char_traits<char>>(std::ostream
&, const boost::posix_time::ptime&).

 

 

Do you know how theses errors can be fixed?

 

Thank you,

 

Joel

 

 

Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
Societe Generale Asset Management et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
  
Decouvrez l'offre et les services de Societe Generale Asset Management sur le site www.sgam.fr
  
                                ********
  
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither Societe Generale Asset Management nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
 
Find out more about Societe Generale Asset Management's proposal on www.sgam.com


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