Boost logo

Boost :

Subject: [boost] [functional/hash] error: more than one instance of overloaded function "fpclassify" matches the argument list:
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-12-02 09:45:36


Hi,

there is a compile error that making fail all the tests in this tester.
Could someone take care of it?

Best,
Vicente

Test output: lazy piranha fedora 17 64 C++11 - thread - async__async_p /
intel-linux-13.0.1
Rev 81655 / Sat, 1 Dec 2012 18:49:57 +0000
*Report Time: *Sun, 2 Dec 2012 12:54:01 +0000
Compile [2012-12-02 03:35:40 UTC]: fail

     "/opt/intel/bin/icpc" -c -xc++ -std=c++11 -O0 -g -w2 -inline-level=0 -pthread -fPIC -wd1418 -wd193,304,383,444 -wd2415 -wd593,981 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_THROW_IF_PRECONDITION_NOT_SATISFIED -DBOOST_THREAD_USE_DLL=1 -I".." -c -o "/home/michael/boost_testing/results/boost/bin.v2/libs/thread/test/async__async_p.test/intel-linux-13.0.1/debug/threading-multi/sync/futures/async/async_pass.o" "../libs/thread/test/sync/futures/async/async_pass.cpp"

../boost/functional/hash/detail/hash_float.hpp(214): error: more than one instance of overloaded function "fpclassify" matches the argument list:
             function "fpclassify(double)"
             function "std::fpclassify(double)"
             argument types are: (double)
               switch (fpclassify(v)) {
                       ^
           detected during:
             instantiation of "std::size_t={unsigned long} boost::hash_detail::float_hash_value(T) [with T=double]" at line 312 of "../boost/functional/hash/hash.hpp"
             instantiation of "boost::hash_detail::float_numbers<T>::type boost::hash_value(T) [with T=double]" at line 413 of "../boost/functional/hash/hash.hpp"

compilation aborted for ../libs/thread/test/sync/futures/async/async_pass.cpp (code 2)

TinyUrl <javascript:make_tinyurl()>


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