Hi.
I have used the boost::date_time library in Linux with no problems, but
Darn; here I go replying to my own post again...
Anyway; so far I have narrowed the problem down to one of optimisation. I
did a debug compilation and had no problem. A moment of reflection led me
to the conclusion that optimisation might have something to do with it. For
the record; I am using Boost in Windows, with Visual Studio as IDE only, and
the Intel 7.0 compiler. Oh; and STLport instead of Windows' crappy STL
implementation.
I.e. turning on "Maximise speed" optimisation causes "to_simple_string" to
fail on my build system.
I'll try to setup the simplest proggie I can to illustrate this problem.
Any thoughts?
Greetings,
A.
----- Original Message -----
From: "adutoit"
My current pain in Windows is with the "to_simple_string" method used to
convert a boost::date_time value to guess what, a string. This works fine in Linux, but not in stupid Windows.
The following line just borks:
std::cout << to_simple_string(date(2003,4,30)) << std::endl;
Any little unknown configuration tricks etc. I need to be aware of here?
Has anyone used the "to_simple_string" method without problems in Windows?
I'll appreciate any help in this regard.
Greetings, A.
[Non-text portions of this message have been removed]
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/