From: Andreas Willich (andreas_willich_at_[hidden])
Date: 2005-12-19 13:15:10
>> I noticed a problem with the use of asio together with the test program
>> monitor. If you include the prg_exec_monitor.hpp before the asio.hpp the
>> boost.test lib includes winsock.h. In the next step asio includes the
>Boost.Test never expplicetly includes winsock.h.
>> winsock2.h. The result is that there are many redefinition errors like
>What would you recommend?
It looks like somewhere windows.h is included. When I define
WIN32_LEAN_AND_MEAN for the hole project, the order of the includes is
regardless because of following #ifndef in windows.h
#endif /* WIN32_
Is windows.h included in boost.test or asio? When it is so, perhaps you
should define WIN32_LEAN_AND_MEAN before.
Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk