Boost C++ Libraries: Ticket #7221: Error compiling spring with boost 1.50 on Fedora 18 https://svn.boost.org/trac10/ticket/7221 <pre class="wiki">In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp: In member function 'double boost::hash_detail::call_ldexp&lt;Float&gt;::operator()(double, int) const': /usr/include/boost/functional/hash/detail/float_functions.hpp:59:34: error: call of overloaded 'ldexp(double&amp;, int&amp;)' is ambiguous /usr/include/boost/functional/hash/detail/float_functions.hpp:59:34: note: candidates are: In file included from /usr/include/math.h:70:0, from /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:46, from /usr/include/boost/config/no_tr1/cmath.hpp:21, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/include/bits/mathcalls.h:106:1: note: double ldexp(double, int) In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21:0, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:345:3: note: long double std::ldexp(long double, int) /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:341:3: note: float std::ldexp(float, int) In file included from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop.h:93:0, from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop_cond.h:13, from /builddir/build/BUILD/spring_89.0/rts/System/float3.h:9, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/IAudioChannel.h:7, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:11: /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:467:16: note: streflop::Double streflop::ldexp(streflop::Double, int) /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:259:16: note: streflop::Simple streflop::ldexp(streflop::Simple, int) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp: In member function 'double boost::hash_detail::call_frexp&lt;Float&gt;::operator()(double, int*) const': /usr/include/boost/functional/hash/detail/float_functions.hpp:74:34: error: call of overloaded 'frexp(double&amp;, int*&amp;)' is ambiguous /usr/include/boost/functional/hash/detail/float_functions.hpp:74:34: note: candidates are: In file included from /usr/include/math.h:70:0, from /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:46, from /usr/include/boost/config/no_tr1/cmath.hpp:21, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/include/bits/mathcalls.h:103:1: note: double frexp(double, int*) In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21:0, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:326:3: note: long double std::frexp(long double, int*) /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:322:3: note: float std::frexp(float, int*) In file included from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop.h:93:0, from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop_cond.h:13, from /builddir/build/BUILD/spring_89.0/rts/System/float3.h:9, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/IAudioChannel.h:7, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:11: /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:466:16: note: streflop::Double streflop::frexp(streflop::Double, int*) /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:258:16: note: streflop::Simple streflop::frexp(streflop::Simple, int*) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp: At global scope: /usr/include/boost/functional/hash/detail/float_functions.hpp:188:1: error: call of overloaded 'ldexp(float&amp;, int&amp;)' is ambiguous /usr/include/boost/functional/hash/detail/float_functions.hpp:188:1: note: candidates are: In file included from /usr/include/math.h:70:0, from /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:46, from /usr/include/boost/config/no_tr1/cmath.hpp:21, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/include/bits/mathcalls.h:106:1: note: double ldexp(double, int) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp:88:58: note: boost::hash_detail::not_found boost_hash_detect_float_functions::ldexp(Float, int) [with Float = float] In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21:0, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:345:3: note: long double std::ldexp(long double, int) /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:341:3: note: float std::ldexp(float, int) In file included from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop.h:93:0, from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop_cond.h:13, from /builddir/build/BUILD/spring_89.0/rts/System/float3.h:9, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/IAudioChannel.h:7, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:11: /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:467:16: note: streflop::Double streflop::ldexp(streflop::Double, int) /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:259:16: note: streflop::Simple streflop::ldexp(streflop::Simple, int) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp:188:1: error: call of overloaded 'ldexpf(float&amp;, int&amp;)' is ambiguous /usr/include/boost/functional/hash/detail/float_functions.hpp:188:1: note: candidates are: In file included from /usr/include/math.h:89:0, from /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:46, from /usr/include/boost/config/no_tr1/cmath.hpp:21, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/include/bits/mathcalls.h:106:1: note: float ldexpf(float, int) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp:188:1: note: boost::hash_detail::not_found boost_hash_detect_float_functions::ldexpf(Float, int) [with Float = float] In file included from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop.h:93:0, from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop_cond.h:13, from /builddir/build/BUILD/spring_89.0/rts/System/float3.h:9, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/IAudioChannel.h:7, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:11: /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:389:16: note: streflop::Simple streflop::ldexpf(streflop::Simple, int) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp:200:1: error: call of overloaded 'frexp(float&amp;, int*&amp;)' is ambiguous /usr/include/boost/functional/hash/detail/float_functions.hpp:200:1: note: candidates are: In file included from /usr/include/math.h:70:0, from /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:46, from /usr/include/boost/config/no_tr1/cmath.hpp:21, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/include/bits/mathcalls.h:103:1: note: double frexp(double, int*) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp:89:58: note: boost::hash_detail::not_found boost_hash_detect_float_functions::frexp(Float, int*) [with Float = float] In file included from /usr/include/boost/config/no_tr1/cmath.hpp:21:0, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:326:3: note: long double std::frexp(long double, int*) /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:322:3: note: float std::frexp(float, int*) In file included from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop.h:93:0, from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop_cond.h:13, from /builddir/build/BUILD/spring_89.0/rts/System/float3.h:9, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/IAudioChannel.h:7, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:11: /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:466:16: note: streflop::Double streflop::frexp(streflop::Double, int*) /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:258:16: note: streflop::Simple streflop::frexp(streflop::Simple, int*) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp:200:1: error: call of overloaded 'frexpf(float&amp;, int*&amp;)' is ambiguous /usr/include/boost/functional/hash/detail/float_functions.hpp:200:1: note: candidates are: In file included from /usr/include/math.h:89:0, from /usr/lib/gcc/i686-redhat-linux/4.7.1/../../../../include/c++/4.7.1/cmath:46, from /usr/include/boost/config/no_tr1/cmath.hpp:21, from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:15, from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13, from /usr/include/boost/date_time/posix_time/ptime.hpp:12, from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12, from /usr/include/boost/thread/thread_time.hpp:11, from /usr/include/boost/thread/locks.hpp:14, from /usr/include/boost/thread/pthread/recursive_mutex.hpp:12, from /usr/include/boost/thread/recursive_mutex.hpp:16, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.h:10, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:3: /usr/include/bits/mathcalls.h:103:1: note: float frexpf(float, int*) In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp:200:1: note: boost::hash_detail::not_found boost_hash_detect_float_functions::frexpf(Float, int*) [with Float = float] In file included from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop.h:93:0, from /builddir/build/BUILD/spring_89.0/rts/lib/streflop/streflop_cond.h:13, from /builddir/build/BUILD/spring_89.0/rts/System/float3.h:9, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/IAudioChannel.h:7, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:11: /builddir/build/BUILD/spring_89.0/rts/lib/streflop/SMath.h:388:16: note: streflop::Simple streflop::frexpf(streflop::Simple, int*) /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/spring_89.0/CMakeFiles /usr/bin/cmake -E cmake_progress_report /builddir/build/BUILD/spring_89.0/CMakeFiles [ 8%] [ 8%] Building CXX object test/CMakeFiles/test_RectangleOptimizer.dir/__/rts/System/Log/Backend.cpp.o Building CXX object test/CMakeFiles/test_LuaSocketRestrictions.dir/__/rts/System/Log/StreamSink.cpp.o cd /builddir/build/BUILD/spring_89.0/test &amp;&amp; /usr/bin/c++ -DSPRING_DATADIR=\"/usr/share/spring\" -DSYNCCHECK -DSTREFLOP_SSE -DBOOST_NO_FENV_H -DBOOST_TEST_DYN_LINK -DSYNCCHECK -DUNIT_TEST -DTEST -fopenmp -march=i686 -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread -O2 -DNDEBUG -g -I/usr/include/SDL -I/builddir/build/BUILD/spring_89.0/rts -o CMakeFiles/test_RectangleOptimizer.dir/__/rts/System/Log/Backend.cpp.o -c /builddir/build/BUILD/spring_89.0/rts/System/Log/Backend.cpp cd /builddir/build/BUILD/spring_89.0/test &amp;&amp; /usr/bin/c++ -DSPRING_DATADIR=\"/usr/share/spring\" -DSYNCCHECK -DSTREFLOP_SSE -DBOOST_NO_FENV_H -DBOOST_TEST_DYN_LINK -DSYNCCHECK -DUNIT_TEST -DTEST -fopenmp -march=i686 -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread -O2 -DNDEBUG -g -I/usr/include/SDL -I/builddir/build/BUILD/spring_89.0/rts -o CMakeFiles/test_LuaSocketRestrictions.dir/__/rts/System/Log/StreamSink.cpp.o -c /builddir/build/BUILD/spring_89.0/rts/System/Log/StreamSink.cpp In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/float_functions.hpp: In instantiation of 'struct boost::hash_detail::select_hash_type&lt;float&gt;': /usr/include/boost/functional/hash/detail/hash_float_generic.hpp:81:70: required from 'std::size_t boost::hash_detail::float_hash_impl(T) [with T = float; std::size_t = unsigned int]' /usr/include/boost/functional/hash/detail/hash_float.hpp:74:41: required from 'std::size_t boost::hash_detail::float_hash_value(T) [with T = float; std::size_t = unsigned int]' /usr/include/boost/functional/hash/hash.hpp:329:54: required from here /usr/include/boost/functional/hash/detail/float_functions.hpp:239:16: error: no type named 'float_type' in 'struct boost::hash_detail::call_ldexp&lt;float&gt;' In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:30:0, from /usr/include/boost/functional/hash/hash.hpp:15, from /usr/include/boost/functional/hash.hpp:6, from /usr/include/boost/thread/detail/thread.hpp:31, from /usr/include/boost/thread/thread.hpp:22, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/Sound.h:14, from /builddir/build/BUILD/spring_89.0/rts/System/Sound/SoundSource.cpp:17: /usr/include/boost/functional/hash/detail/hash_float_generic.hpp: In instantiation of 'std::size_t boost::hash_detail::float_hash_impl(T) [with T = float; std::size_t = unsigned int]': /usr/include/boost/functional/hash/detail/hash_float.hpp:74:41: required from 'std::size_t boost::hash_detail::float_hash_value(T) [with T = float; std::size_t = unsigned int]' /usr/include/boost/functional/hash/hash.hpp:329:54: required from here /usr/include/boost/functional/hash/detail/hash_float_generic.hpp:81:70: error: no type named 'type' in 'struct boost::hash_detail::select_hash_type&lt;float&gt;' </pre><p> gcc 4.7.1 glibc 2.16 boost 1.50.0 </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/7221 Trac 1.4.3 viboes Wed, 15 Aug 2012 19:36:53 GMT component changed; owner set https://svn.boost.org/trac10/ticket/7221#comment:1 https://svn.boost.org/trac10/ticket/7221#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Daniel James</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">hash</span> </li> </ul> Ticket Daniel James Wed, 15 Aug 2012 20:04:22 GMT <link>https://svn.boost.org/trac10/ticket/7221#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7221#comment:2</guid> <description> <p> It looks like calling <code>ldexp</code> is ambiguous because you've used <code>using namespace streflop</code> in the global namespace (otherwise I don't see how that namespace would be considered). That's a pretty dubious thing to do since <code>ldexp</code> is defined in the global namespace and this makes it ambiguous. I can possibly fix this, but it's an annoying complexity to deal with for something that you probably shouldn't do. Looking at the streflop documentation, it's intended to be protected by a namespace so that it won't affect third party code. </p> </description> <category>Ticket</category> </item> <item> <author>orion@…</author> <pubDate>Thu, 30 Aug 2012 20:42:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/7221#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/7221#comment:3</guid> <description> <p> Sounds good. It's been a bit tedious making the changes to the spring code, but it does seem to be the right path. </p> </description> <category>Ticket</category> </item> <item> <author>orion@…</author> <pubDate>Wed, 05 Sep 2012 20:45:22 GMT</pubDate> <title>owner, version, component, milestone changed https://svn.boost.org/trac10/ticket/7221#comment:4 https://svn.boost.org/trac10/ticket/7221#comment:4 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Daniel James</span> to <span class="trac-author">Jeremiah Willcock</span> </li> <li><strong>version</strong> <span class="trac-field-old">Boost 1.50.0</span> → <span class="trac-field-new">Boost 1.51.0</span> </li> <li><strong>component</strong> <span class="trac-field-old">hash</span> → <span class="trac-field-new">graph</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Website 1.X</span> </li> </ul> <p> Looks like this has been resolved upstream in spring, so this can be closed. </p> Ticket Jeremiah Willcock Wed, 05 Sep 2012 20:47:08 GMT owner, component changed https://svn.boost.org/trac10/ticket/7221#comment:5 https://svn.boost.org/trac10/ticket/7221#comment:5 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Jeremiah Willcock</span> to <span class="trac-author">Daniel James</span> </li> <li><strong>component</strong> <span class="trac-field-old">graph</span> → <span class="trac-field-new">hash</span> </li> </ul> Ticket Daniel James Wed, 05 Sep 2012 20:53:21 GMT milestone changed https://svn.boost.org/trac10/ticket/7221#comment:6 https://svn.boost.org/trac10/ticket/7221#comment:6 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Website 1.X</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> Thanks for doing that, although I might fix it eventually anyway. The code that causes the problem is used to automatically detect which floating point functions are available. For the more popular compilers, it might be better to avoid that and just use what we know they support. </p> Ticket Daniel James Mon, 17 Dec 2012 23:09:35 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/7221#comment:7 https://svn.boost.org/trac10/ticket/7221#comment:7 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I think this was fixed in trunk in <a class="changeset" href="https://svn.boost.org/trac10/changeset/81677" title="Hash: Don't use workarounds with recent compilers. #7221, #7470">r81677</a> and release in <a class="changeset" href="https://svn.boost.org/trac10/changeset/81920" title="Hash: Merge from trunk. - Avoid floating point workarounds on recent ...">r81920</a>. Only for recent compilers though. </p> Ticket