[date_time] runtime error with intel c++ 11.0.072 (win32) and ptime's time_from_string()

21 Apr
2009
21 Apr
'09
3:30 a.m.
Hi all, I have encountered a runtime error when date_time tries to parse a time from a delimited string when compiled with intel c++ 11 in release mode. The following code is what I used to replicate the error: int main(int argc, char** argv) { using namespace boost::posix_time; ptime first = microsec_clock::local_time(); std::string temp = to_simple_string(first); ptime second = time_from_string(temp); // it crashes here } It works when using msvc9's compiler in debug and release mode and intel c++ 11 debug mode. Any idea how to resolve this? Thanks, Edward
5786
Age (days ago)
5786
Last active (days ago)
0 comments
1 participants
participants (1)
-
Edward Rankin