Page 1 of 1

libboost deprecation warning in 1.39, non-working in 1.40

Posted: 15 Sep 2009, 11:27
by WeberGunso
Hi,

I tested around compiling the newest Spring release with libboost1.40 and noticed that since 1.39, there is a deprecation notification.

Obviously 1.40 wont work and in 1.39 you are already warned of this.

This would mean that it would be nice to specify further in the compile wiki for Linux. libboost 1.35-1.39

To be added that I have still not tested the compile with 1.39

Attached:
Compile history.

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 15 Sep 2009, 13:23
by lurker
Boost Spirit you say? Sounds to me like an excuse to finally get rid of the tdf parser.

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 15 Sep 2009, 14:24
by imbaczek
nah, it's a 10-line (i hope) change max; need to add /classic/ to include path and change some using [namespace] stuff.

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 15 Sep 2009, 14:55
by WeberGunso
/classic/ in meaning, no support for coming implementation forms?

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 15 Sep 2009, 18:18
by Auswaschbar
imbaczek wrote:nah, it's a 10-line (i hope) change max; need to add /classic/ to include path and change some using [namespace] stuff.
Have been a bit more lines, but could be solved easily by find and replace.

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 16 Sep 2009, 04:14
by lurker
Excuse, not valid reason. I don't like having two tdf parsers. :?

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 18 Sep 2009, 16:55
by Auswaschbar
lurker wrote:Excuse, not valid reason. I don't like having two tdf parsers. :?
Different parsers for different purposes, whats wrong with that?

Oh, and 0.80.4.2 compiles with boost 1.40.

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 18 Sep 2009, 16:59
by WeberGunso
0.80.4.2 being released when :-) ?

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 18 Sep 2009, 17:00
by Auswaschbar
WeberGunso wrote:0.80.4.2 being released when :-) ?
now

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 18 Sep 2009, 17:13
by WeberGunso
:P Yeeha! Nice.

Re: libboost deprecation warning in 1.39, non-working in 1.40

Posted: 18 Sep 2009, 17:37
by WeberGunso
Nope it doesnt... crushes at:

[ 27%] Building CXX object rts/CMakeFiles/spring.dir/Lua/LuaParser.cpp.o

Code: Select all

In file included from /usr/include/boost/functional/hash/detail/hash_float.hpp:14,                                                                                                      
                 from /usr/include/boost/functional/hash/hash.hpp:15,                                                                                                                   
                 from /usr/include/boost/functional/hash.hpp:6,                                                                                                                         
                 from /usr/include/boost/regex/v4/basic_regex.hpp:23,                                                                                                                   
                 from /usr/include/boost/regex/v4/regex.hpp:67,                                                                                                                         
                 from /usr/include/boost/regex.hpp:31,                                                                                                                                  
                 from /usr/src/spring/spring_0.80.4.2/rts/Lua/LuaParser.cpp:10:                                                                                                         
/usr/include/boost/functional/hash/detail/float_functions.hpp: In member function ÔÇÿdouble boost::hash_detail::call_ldexp<Float>::operator()(double, int) constÔÇÖ:                        
/usr/include/boost/functional/hash/detail/float_functions.hpp:59: error: call of overloaded ÔÇÿldexp(double&, int&)ÔÇÖ is ambiguous                                                         
/usr/include/bits/mathcalls.h:107: note: candidates are: double ldexp(double, int)                                                                                                      
/usr/include/c++/4.3/cmath:309: note:                 long double std::ldexp(long double, int)                                                                                          
/usr/include/c++/4.3/cmath:305: note:                 float std::ldexp(float, int)                                                                                                      
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:467: note:                 streflop::Double streflop::ldexp(streflop::Double, int)                                             
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:259: note:                 streflop::Simple streflop::ldexp(streflop::Simple, int)                                             
/usr/include/boost/functional/hash/detail/float_functions.hpp: In member function ÔÇÿdouble boost::hash_detail::call_frexp<Float>::operator()(double, int*) constÔÇÖ:                       
/usr/include/boost/functional/hash/detail/float_functions.hpp:74: error: call of overloaded ÔÇÿfrexp(double&, int*&)ÔÇÖ is ambiguous                                                        
/usr/include/bits/mathcalls.h:104: note: candidates are: double frexp(double, int*)                                                                                                     
/usr/include/c++/4.3/cmath:293: note:                 long double std::frexp(long double, int*)                                                                                         
/usr/include/c++/4.3/cmath:289: note:                 float std::frexp(float, int*)                                                                                                     
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:466: note:                 streflop::Double streflop::frexp(streflop::Double, int*)                                            
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:258: note:                 streflop::Simple streflop::frexp(streflop::Simple, int*)                                            
/usr/include/boost/functional/hash/detail/float_functions.hpp: At global scope:                                                                                                         
/usr/include/boost/functional/hash/detail/float_functions.hpp:188: error: call of overloaded ÔÇÿldexp(float&, int&)ÔÇÖ is ambiguous                                                         
/usr/include/bits/mathcalls.h:107: note: candidates are: double ldexp(double, int)                                                                                                      
/usr/include/boost/functional/hash/detail/float_functions.hpp:88: note:                 boost::hash_detail::not_found BOOST_HASH_DETECT_FLOAT_FUNCTIONS::ldexp(Float, int) [with Float = float]                                                                                                                                                                                 
/usr/include/c++/4.3/cmath:309: note:                 long double std::ldexp(long double, int)                                                                                          
/usr/include/c++/4.3/cmath:305: note:                 float std::ldexp(float, int)                                                                                                      
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:467: note:                 streflop::Double streflop::ldexp(streflop::Double, int)                                             
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:259: note:                 streflop::Simple streflop::ldexp(streflop::Simple, int)                                             
/usr/include/boost/functional/hash/detail/float_functions.hpp:188: error: call of overloaded ÔÇÿldexpf(float&, int&)ÔÇÖ is ambiguous                                                        
/usr/include/bits/mathcalls.h:107: note: candidates are: float ldexpf(float, int)                                                                                                       
/usr/include/boost/functional/hash/detail/float_functions.hpp:188: note:                 boost::hash_detail::not_found BOOST_HASH_DETECT_FLOAT_FUNCTIONS::ldexpf(Float, int) [with Float = float]                                                                                                                                                                               
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:389: note:                 streflop::Simple streflop::ldexpf(streflop::Simple, int)                                            
/usr/include/boost/functional/hash/detail/float_functions.hpp:188: error: ÔÇÿboost::hash_detail::ldexpf_detect::check::c99ÔÇÖ is not a valid template argument for type ÔÇÿboolÔÇÖ because it is a non-constant expression                                                                                                                                                              
/usr/include/boost/functional/hash/detail/float_functions.hpp:188: error: ÔÇÿboost::hash_detail::ldexpf_detect::check::cppÔÇÖ is not a valid template argument for type ÔÇÿboolÔÇÖ because it is a non-constant expression                                                                                                                                                              
/usr/include/boost/functional/hash/detail/float_functions.hpp:200: error: call of overloaded ÔÇÿfrexp(float&, int*&)ÔÇÖ is ambiguous                                                        
/usr/include/bits/mathcalls.h:104: note: candidates are: double frexp(double, int*)                                                                                                     
/usr/include/boost/functional/hash/detail/float_functions.hpp:89: note:                 boost::hash_detail::not_found BOOST_HASH_DETECT_FLOAT_FUNCTIONS::frexp(Float, int*) [with Float = float]                                                                                                                                                                                
/usr/include/c++/4.3/cmath:293: note:                 long double std::frexp(long double, int*)                                                                                         
/usr/include/c++/4.3/cmath:289: note:                 float std::frexp(float, int*)                                                                                                     
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:466: note:                 streflop::Double streflop::frexp(streflop::Double, int*)                                            
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:258: note:                 streflop::Simple streflop::frexp(streflop::Simple, int*)                                            
/usr/include/boost/functional/hash/detail/float_functions.hpp:200: error: call of overloaded ÔÇÿfrexpf(float&, int*&)ÔÇÖ is ambiguous                                                       
/usr/include/bits/mathcalls.h:104: note: candidates are: float frexpf(float, int*)                                                                                                      
/usr/include/boost/functional/hash/detail/float_functions.hpp:200: note:                 boost::hash_detail::not_found BOOST_HASH_DETECT_FLOAT_FUNCTIONS::frexpf(Float, int*) [with Float = float]                                                                                                                                                                              
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:388: note:                 streflop::Simple streflop::frexpf(streflop::Simple, int*)
/usr/include/boost/functional/hash/detail/float_functions.hpp:200: error: ÔÇÿboost::hash_detail::frexpf_detect::check::c99ÔÇÖ is not a valid template argument for type ÔÇÿboolÔÇÖ because it is a non-constant expression
/usr/include/boost/functional/hash/detail/float_functions.hpp:200: error: ÔÇÿboost::hash_detail::frexpf_detect::check::cppÔÇÖ is not a valid template argument for type ÔÇÿboolÔÇÖ because it is a non-constant expression
/usr/include/boost/functional/hash/detail/float_functions.hpp: In instantiation of ÔÇÿboost::hash_detail::select_hash_type<float>ÔÇÖ:
/usr/include/boost/functional/hash/detail/hash_float_generic.hpp:83:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_impl(T) [with T = float]ÔÇÖ
/usr/include/boost/functional/hash/detail/hash_float.hpp:74:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_value(T) [with T = float]ÔÇÖ
/usr/include/boost/functional/hash/hash.hpp:282:   instantiated from here
/usr/include/boost/functional/hash/detail/float_functions.hpp:242: error: no type named ÔÇÿfloat_typeÔÇÖ in ÔÇÿstruct boost::hash_detail::call_ldexp<float>ÔÇÖ
/usr/include/boost/functional/hash/detail/hash_float_generic.hpp: In function ÔÇÿsize_t boost::hash_detail::float_hash_impl(T) [with T = float]ÔÇÖ:
/usr/include/boost/functional/hash/detail/hash_float.hpp:74:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_value(T) [with T = float]ÔÇÖ
/usr/include/boost/functional/hash/hash.hpp:282:   instantiated from here
/usr/include/boost/functional/hash/detail/hash_float_generic.hpp:83: error: no type named ÔÇÿtypeÔÇÖ in ÔÇÿstruct boost::hash_detail::select_hash_type<float>ÔÇÖ
/usr/include/boost/functional/hash/detail/float_functions.hpp: In member function ÔÇÿdouble boost::hash_detail::call_frexp<Float>::operator()(double, int*) const [with Float = double]ÔÇÖ:
/usr/include/boost/functional/hash/detail/hash_float_generic.hpp:44:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_impl2(T) [with T = double]ÔÇÖ
/usr/include/boost/functional/hash/detail/hash_float_generic.hpp:84:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_impl(T) [with T = double]ÔÇÖ
/usr/include/boost/functional/hash/detail/hash_float.hpp:74:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_value(T) [with T = double]ÔÇÖ
/usr/include/boost/functional/hash/hash.hpp:287:   instantiated from here
/usr/include/boost/functional/hash/detail/float_functions.hpp:74: error: call of overloaded ÔÇÿfrexp(double&, int*&)ÔÇÖ is ambiguous
/usr/include/bits/mathcalls.h:104: note: candidates are: double frexp(double, int*)
/usr/include/c++/4.3/cmath:293: note:                 long double std::frexp(long double, int*)
/usr/include/c++/4.3/cmath:289: note:                 float std::frexp(float, int*)
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:466: note:                 streflop::Double streflop::frexp(streflop::Double, int*)
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:258: note:                 streflop::Simple streflop::frexp(streflop::Simple, int*)
/usr/include/boost/functional/hash/detail/float_functions.hpp: In member function ÔÇÿdouble boost::hash_detail::call_ldexp<Float>::operator()(double, int) const [with Float = double]ÔÇÖ:
/usr/include/boost/functional/hash/detail/hash_float_generic.hpp:57:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_impl2(T) [with T = double]ÔÇÖ
/usr/include/boost/functional/hash/detail/hash_float_generic.hpp:84:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_impl(T) [with T = double]ÔÇÖ
/usr/include/boost/functional/hash/detail/hash_float.hpp:74:   instantiated from ÔÇÿsize_t boost::hash_detail::float_hash_value(T) [with T = double]ÔÇÖ
/usr/include/boost/functional/hash/hash.hpp:287:   instantiated from here
/usr/include/boost/functional/hash/detail/float_functions.hpp:59: error: call of overloaded ÔÇÿldexp(double&, int&)ÔÇÖ is ambiguous
/usr/include/bits/mathcalls.h:107: note: candidates are: double ldexp(double, int)
/usr/include/c++/4.3/cmath:309: note:                 long double std::ldexp(long double, int)
/usr/include/c++/4.3/cmath:305: note:                 float std::ldexp(float, int)
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:467: note:                 streflop::Double streflop::ldexp(streflop::Double, int)
/usr/src/spring/spring_0.80.4.2/rts/lib/streflop/SMath.h:259: note:                 streflop::Simple streflop::ldexp(streflop::Simple, int)
make[2]: *** [rts/CMakeFiles/spring.dir/Lua/LuaParser.cpp.o] Error 1
make[1]: *** [rts/CMakeFiles/spring.dir/all] Error 2
make: *** [all] Error 2
;)