
Hi Gennadiy! I've noticed some warnings from msvc. For details, please look at attached test_warnings.txt. First, when using AUTO_TEST, I get lots of warning C4265: 'boost::unit_test::test_observer' : class has virtual functions, but destructor is not virtual The easy fix seems to be attached config.diff which simply makes the destructors virtual for msvc et.al. Second, when running the Boost.Test testsuite, basic_cstring_test.cpp triggers "deprecated" warnings from the msvc-Stdlib. Please find diff against test/Jamfile.v2 attached. I can apply those patches myself, when necessary. And by the way: test/details/config.hpp still contains CVS-"log" entries. And it would also be nice to have some tests using AUTO_TEST in the Boost.Test testsuite. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !

"Juergen Hunold" <juergen.hunold@ivembh.de> wrote in message news:200710242002.57460.juergen.hunold@ivembh.de... Hi Gennadiy!
I've noticed some warnings from msvc.
For details, please look at attached test_warnings.txt.
First, when using AUTO_TEST, I get lots of
warning C4265: 'boost::unit_test::test_observer' : class has virtual functions, but destructor is not virtual
The warning obviosly wrong, but it is annoying. What version r u using?
The easy fix seems to be attached config.diff which simply makes the destructors virtual for msvc et.al.
Second, when running the Boost.Test testsuite, basic_cstring_test.cpp triggers "deprecated" warnings from the msvc-Stdlib. Please find diff against test/Jamfile.v2 attached.
Thanks, applied
I can apply those patches myself, when necessary.
And by the way: test/details/config.hpp still contains CVS-"log" entries.
I am wokring on cleaning this up
And it would also be nice to have some tests using AUTO_TEST in the Boost.Test testsuite.
There alot of them.boost_check_equal_str for example Gennadiy

Hi Gennadiy ! An'n Donnerstag 25 Oktober 2007 hett Gennadiy Rozental schreven:
"Juergen Hunold" <juergen.hunold@ivembh.de> wrote in message warning C4265: 'boost::unit_test::test_observer' : class has virtual functions, but destructor is not virtual
The warning obviosly wrong, but it is annoying. What version r u using?
Boost.Test: trunk msvc: 8.0 AFAIK, this warning is printed in 7.x too. But I don't have easy access to this compiler.
Second, when running the Boost.Test testsuite, basic_cstring_test.cpp
triggers "deprecated" warnings from the msvc-Stdlib. Please find diff against test/Jamfile.v2 attached.
Thanks, applied
You're welcome.
And by the way: test/details/config.hpp still contains CVS-"log" entries.
I am wokring on cleaning this up
That's good.
And it would also be nice to have some tests using AUTO_TEST in the Boost.Test testsuite.
There alot of them.boost_check_equal_str for example
I wonder why those don't trigger the warning. Or I've been overwhelmed by those nasty _SCL_SECURE warnings. Thanks a lot for the quick fix ! Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !
participants (3)
-
Gennadiy Rozental
-
Juergen Hunold
-
Jürgen Hunold