Boost logo

Boost Users :

From: Malloc (malloc_at_[hidden])
Date: 2004-12-27 06:17:25


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> wrote in message
news:cqno4b$kjj$1_at_sea.gmane.org...
>
> "Malloc" <malloc_at_[hidden]> wrote in message
> news:cqn2p1$vda$1_at_sea.gmane.org...

Hi there...

I switched the lib to: libboost_unit_test_framework-vc71-mt.lib
and added BOOST_TEST_NO_AUTO_LINK to the preprocessor
configuration and this seems to work.

The code now runs through to the end but it reports a memory
access violation in one of the *.cpp used to build the lib ??

The memory error shows up even if I change the test case to test "2
== 2"
so I am confused as to whether or not the code is actually behaving
as expected.

The code I was trying to compile is the first test example
(unit_test_example1).

thanks for the help

Dave

- --- run results
- ------------------------------------------------------
Running 1 test case...
e:/c++source/unittests/main.cpp(17): error in "free_test_function":
test 2 == 1
failed
Exception in "free_test_function": memory access violation
E:/downloads/boost/boost_1_32_0/libs/test/build/../src/unit_test_suite
.cpp(150):
 fatal error in "free_test_function": Testing aborted

*** 1 failure detected (1 failure expected) in test suite "Unit test
example 1"
Press any key to continue

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBQc/vRE6myMoV5dC/EQKStQCgzabC7Q7ZbVgU1vzug1sfGf03D/wAoJ9z
M8tJaogFuqHXgPhCA8+DnQKW
=LExm
-----END PGP SIGNATURE-----


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