Boost Users :
Subject: Re: [Boost-users] Link errors with MSVC 9 application using Boost date_time on DEBUG build
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-13 19:03:15
Tom Aylesworth wrote:
> Thanks for the fast response, Steven. However, if the problem was in the way my test application or the library was being built, my program should fail the same way in the RELEASE configuration.
Maybe. Can you post the two command lines?
> With a little more testing, I was able to build the DEBUG configuration if I set the Optimization flag for my test application to O2. In this case, it was still building against the debug version of the boost library (libboost_date_time-vc90-mt-sgdp-1_38.lib) and yet it linked and ran correctly.
Is changing to /O2 the only change that you made?
> I suspect this may be related to the bug you mention in this note:
I don't think it's related.
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