As a general rule: Compile and Link only libraries that use the same
compile settings.

Your problem is that you are linking the C-Runtime and the Debug
C-Runtime... Those are incompatible. But that is not a UnitTest++
issue, that is a general issue with MSC.

Sean

On Sat, Sep 26, 2009 at 1:33 PM, liam mail <liam.l...@googlemail.com> wrote:
>
>
> 2009/9/26 liam mail <liam.l...@googlemail.com>
>>
>> Anybody using VS2008 (sp1) with UnitTest++ ?
>> When I link to the release library instead of the debug and a failure
>> happens then the string "failure" in the reporter is initialised
>> (0xcccccccc), which causes it to crash and not report any details. Linking
>> with the debug library works flawlessly yet I do not see anything in the
>> framework's documents that requires the debug to be linked.
>> Anyone else see this problem with this or another VS version?
>>
> I forgot to mention. If what is being tested is compiled in release mode
> then everything works, yet when what I am testing is compiled in debug and
> linked against the release library is when I see the problem.
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> unittest-cpp-devel mailing list
> unittest-cpp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel
>
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
unittest-cpp-devel mailing list
unittest-cpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unittest-cpp-devel

Reply via email to