[test] Patch for gcc warning suppression.

I'm getting a bunch of warnings from floating_point_comparison.hpp with gcc, the attached patch fixes these, if these are OK, I can commit from here. That just leaves: c:\data\boost\boost\trunk/boost/test/floating_point_comparison.hpp:246: warning: 'boost::test_tools::<unnamed>::check_is_small' defined but not used Is there any way to get rid of that as well? Thanks, John.

AMDG John Maddock wrote:
c:\data\boost\boost\trunk/boost/test/floating_point_comparison.hpp:246: warning: 'boost::test_tools::<unnamed>::check_is_small' defined but not used
Is there any way to get rid of that as well?
Yes. See this thread. http://lists.boost.org/boost-users/2008/10/41317.php In Christ, Steven Watanabe

Steven Watanabe wrote:
AMDG
John Maddock wrote:
c:\data\boost\boost\trunk/boost/test/floating_point_comparison.hpp:246: warning: 'boost::test_tools::<unnamed>::check_is_small' defined but not used
Is there any way to get rid of that as well?
Yes. See this thread. http://lists.boost.org/boost-users/2008/10/41317.php
In which case we should really stamp on these warnings IMO as they're pretty annoying when you have a lot of test cases to build. Gennadiy? Cheers, John.

Hi John ! On Wednesday 22 October 2008 18:48:41 John Maddock wrote:
Steven Watanabe wrote:
Yes. See this thread. http://lists.boost.org/boost-users/2008/10/41317.php
In which case we should really stamp on these warnings IMO as they're pretty annoying when you have a lot of test cases to build.
Please find my patch based on the thread above attached. The general idea is clear, but I don't know if the helper templates are where Gennadiy likes them to be. Comments welcome ;-))
Gennadiy?
Good question. I'm cc'ing him directly in case he missed those threads... 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)
-
John Maddock
-
Juergen Hunold
-
Steven Watanabe