
1 Dec
2009
1 Dec
'09
7:10 p.m.
hello, can gcc3.2.3 compile boost1.40.0? On linux2.5/gcc3.2.3, I get compile error: invalid use of undefined type `struct boost::asio::detail::has_result_type<const char*>' /usr/local/boost_1_40_0/boost/asio/read_until.hpp:55: declaration of `struct boost::asio::detail::has_result_type<const char*>' invalid use of undefined type `struct boost::asio::detail::has_result_type<const char*>' /usr/local/boost_1_40_0/boost/asio/read_until.hpp:55: declaration of `struct boost::asio::detail::has_result_type<const char*>' enumerator value for `value' not integer constant make: *** [] 错误 1 All is ok in gcc4.1.2. How to compile the program using boost::asio on gcc3.2.3? Any suggestion is appreciated.