Boost logo

Boost :

Subject: [boost] [test] patch for test_fp_comparisons.cpp
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2010-06-04 10:43:11


Hi !

According to

http://www.boost.org/development/tests/trunk/developer/test.html

nearly all compilers fail compiling test_fp_comparisons.cpp.

With gcc-4.4 I get:

test_fp_comparisons.cpp: In member function ‘void
test_close_at_tolerance::test_method()’:
test_fp_comparisons.cpp:165: error: reference to ‘fpc’ is ambiguous
test_fp_comparisons.cpp:157: error: candidates are: namespace fpc =
boost::math::boost::math::fpc;
/home/hunold/src/devel/boost/boost/test/floating_point_comparison.hpp:280:
error: namespace boost::test_tools::fpc =
boost::math::boost::math::fpc;

The attached patch removes the offending namespace alias in the test file.

Okay to commit ?

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_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk