On Monday, January 25, 2010 11:29 AM , Eli Zakashansky wrote:
I've opened your project in VS2005, added the required lib files (libboost_date_time-vc80-mt-s-1_41.lib and
which I compiled especially for this test, and besides the additional
changed the property RuntimeLibrary which I set to be "0" [Project
Configuration properties -> Code Generation Runtime Library <= Multi-threaded(/MT)].
I was surprised twice:
1. I've executed the program with no difficulties (didn't reproduced what you've mentioned about endless loops). 2. I didn't reproduced the initial problem which I've complained about (the assertions). Which makes me think that this a result of the VC9 compilation. I've did those tests with several boost versions (1.35,1.39,1.41) and reproduced the problem in 100% of the cases, but always compiled with VC9 compiler, changing the compiler is not in
libboost_date_time-vc80-mt-sgd-1_41.lib) directories I've properties -> option in my case
therefore I must find a solution to this problem. I'm glad that now I might be more focused about where the problem is, but have no clue in how to solve it. Any new ideas ?
Have you tried opening Joaquin's project in VC9? That may tell you if there is something wrong with VC9, or if there is some obscure difference between your project settings and Joaquin's.