Boost logo

Boost Users :

Subject: [Boost-users] [asio]boost1.40.0/gcc3.2.3 compile error
From: victor (victor.boost.program_at_[hidden])
Date: 2009-12-01 21:10:38


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.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net