Boost logo

Boost :

From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2006-09-23 19:56:42


Hi,

  While trying to resolve a Interprocess error when using it with asio,
I've found that the problem is caused because Interprocess uses date_time.

If you compile:

#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/asio/asio.hpp>

int main()
{
   return 0;
}

You get a lot of socket redefinitions because date_time seems to be
including winsock.h whereas asio uses winsock2.h. Is there any way to
avoid these errors?

Regards,

Ion


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