id summary reporter owner description type status milestone component version severity resolution keywords cc 4578 asio: always use pselect() on hpux11.31 over select() Michael Haubenwallner chris_kohlhoff "Using with gcc (4.2.4) on hpux11.31 results in this error with boost-1.39.0: /path/to/boost/asio/detail/socket_ops.hpp: In function 'int boost::asio::detail::socket_ops::select(int, fd_set*, fd_set*, fd_set*, timeval*, boost::system::error_code&)': /path/to/boost/asio/detail/socket_ops.hpp:647: error: cannot convert 'fd_set*' to 'int*' for argument '2' to 'int select(size_t, int*, int*, int*, const timeval*)' Unfortunately, the application has included before - and thus before . This causes select() to be declared with 'int*' instead of 'fd_set*' arguments. Since hpux11.31, there is pselect() in . Before hpux11.31, there is no (and no pselect). Additionally, hpux11.31 defines {double _}SELECT in , so it seems to be better to listen to this one instead of _HP_aCC when deciding to use pselect(). Attached patch is for boost-1.39.0, but this code looks unchanged in trunk (parts of socket_ops.hpp were moved to impl/socket_ops.ipp). Thank you!" Patches closed To Be Determined asio Boost Development Trunk Problem fixed