Boost logo

Boost Users :

From: adutoit (adutoit_at_[hidden])
Date: 2003-06-12 01:33:53


Hi.

The following little proggie bombs if I compile it with /O3 optimisation in
Windows, using Intel compiler 7.0 and STLport (whatever the latest version
number is). In short, I cannot use to_simple_string in any of my programs
if I have any form of optimisation turned on.

Here is the simple test program :

// boost
#include <boost/date_time/posix_time/posix_time.hpp>

// std
#include <iostream>

using namespace boost::posix_time;
using namespace boost::gregorian;

int main ()
{
   std::cout << to_simple_string( date( 2003,06,12) )
      << std::endl;
   return 0;
}

----- Original Message -----
From: "Tom Matelich" <tmatelich_at_[hidden]>
To: <Boost-Users_at_[hidden]>
Sent: Wednesday, June 11, 2003 6:20 PM
Subject: RE: [Boost-Users] to_simple_string and Windows?

> Sorry, I didn't read carefully enough. Have you managed to make a test
app
> fail similarly?
>
> tom
>
> > -----Original Message-----
> > From: adutoit [mailto:adutoit_at_[hidden]]
> > Sent: Tuesday, June 10, 2003 11:02 PM
> > To: Boost-Users_at_[hidden]
> > Subject: Re: [Boost-Users] to_simple_string and Windows?
> >
> >
> > Yes, I know about the UNICODE project option, that is why I
> > mentioned it in
> > my previous email...
> > Anyway, now I am left wondering why opto enabled (with /O3 or
> > whatever opto
> > is required) causes my call to "to_simple_string" to fail.
> > In case anyone
> > is wondering what I mean by that, it simply aborts without any further
> > information somewhere in the bowels of said function.
> >
> > A.
>
> -----------------------------------------------------------------------
> DISCLAIMER: Information contained in this message and/or
> attachment(s) may contain confidential information of Zetec, Inc.
> If you have received this transmission in error, please notify
> the sender by return email.
> -----------------------------------------------------------------------
>
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net