Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2007-02-12 05:53:13


Hi Gaurav,

On Fri, 9 Feb 2007 12:29:45 +0530, Gaurav.Jain_at_[hidden] said:
> Now am getting this error :
> /boost/1_33_1/64/boost/asio/detail/posix_fd_set_adapter.hpp", line 35:
> Error: The function "memset" must have a prototype.
> 1 Error(s) detected.

Just a wild guess... can you please try the following diff and see if it
helps:

--- posix_fd_set_adapter.hpp 4 Jan 2007 05:53:00 -0000 1.2
+++ posix_fd_set_adapter.hpp 12 Feb 2007 10:52:13 -0000
@@ -32,6 +32,7 @@
   posix_fd_set_adapter()
     : max_descriptor_(invalid_socket)
   {
+ using namespace std;
     FD_ZERO(&fd_set_);
   }

Cheers,
Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk