Re: [boost] sun CC with date_time compile error

Jeff Garland wrote:
VENNIN Joel wrote:
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.
Oh dang...ignore my last email -- got my compiler results crossed. The OSL4-V2 test uses Sun Studio 11 (Sun C++ 5.8 Patch 121017-03 2006/07/19) which is an earlier version. This version basically compiles all the tests. It fails some of the regressions, but that mostly has to do with 'standard formatting' issues. Thus, I'd say, things should at least compile. Ok , I find the solution. I have to add some compiler options: -xarch=v9 -library=stlport4 and -D__EXTENSION__. With these options, it compiles and links. Thank you. Of course, this is testing the 1.34 release candidate, so it's possible that there's some change made along the way to help the Solaris compiler -- there's nothing in the release notes, but someone else could have made an update in config or something ,and it's been too long since 1.33 to be 100% sure something else isn't required. Just looking at the error, though, this might be simpler problem. Add in this header after local_time.hpp: #include "boost/date_time/local_time/local_time_io.hpp" If that doesn't work then we might have to look at the 1.34 RC differences. Jeff _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost 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
participants (1)
-
VENNIN Joel