[test] dsiable warnings for msvc 9.0

Hi ! Please find a patch for boost/test/detail/config.hpp attached which bumps the msvc version for BOOST_WORKAROUND to 1500 (msvc-9.0) Okay to commit (or should I use == 1500 ?) I'm not quite sure _how_ those workaorund macros work... 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 !

Hi Gennadiy ! On Saturday 13 September 2008 10:09:18 Gennaidy Rozental wrote:
Jürgen Hunold <juergen.hunold <at> ivembh.de> writes:
Please find a patch for boost/test/detail/config.hpp attached which bumps the msvc version for BOOST_WORKAROUND to 1500 (msvc-9.0)
I don't see this warning.
Confirmed. It seems it only appears in my own test cases. I'll try to reproduce it and get back with a test case. This might take some days, though. 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 !

Hi Gennadiy ! An'n Montag 15 September 2008 hett Juergen Hunold schreven:
On Saturday 13 September 2008 10:09:18 Gennaidy Rozental wrote:
Jürgen Hunold <juergen.hunold <at> ivembh.de> writes:
Please find a patch for boost/test/detail/config.hpp attached which bumps the msvc version for BOOST_WORKAROUND to 1500 (msvc-9.0)
I don't see this warning.
Confirmed. It seems it only appears in my own test cases. I'll try to reproduce it and get back with a test case. This might take some days, though.
Well, the warning is off by default :-)) We activate it per #pragma warning(3:4265) in our compiler-settings header in order to get the same warnings as gcc-4.x To reproduce this, you only have to activate it by adding -w34265 to your commandline, for bjam that would be cxxflags=-w34265.(or <cxxflags>-w34265 in the Jamfile itself) I wonder if this is a candidate for inclusion in Boost.Tests own Jamfile... 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 !

Hi Gennadiy ! On Friday 19 September 2008 20:57:25 Gennaidy Rozental wrote:
Jürgen Hunold <juergen.hunold <at> ivembh.de> writes:
Well, the warning is off by default ) We activate it per
Let's keep it this way ;)
Well, the idea was to stop msvc-users to check in code with missing virtual destructors which would annoy gcc-users on update. This has worked well so far. And somehow the workaround for msvc-8.0 got into test/detail/config.hpp. And please remember that one can activate this warning by adding /Wall to the commandline. I'd like to have this warning avoided.
I wonder if this is a candidate for inclusion in Boost.Tests own Jamfile...
Why? Just so that I can shut it down in code?
Yes ;-)) Well, my intention was to get msvc/gcc at the same warning level. I hope that those warnings will be obsoleted by the upcoming standard ;-)) 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)
-
Gennaidy Rozental
-
Juergen Hunold
-
Jürgen Hunold