Boost logo

Boost Users :

Subject: [Boost-users] warning C4005: 'AF_IPX' : macro redefinition" +"ws2def.h" (converting from MS 6.0 to MS 2008 (9.0))
From: Joseph Marks (jmarks_at_[hidden])
Date: 2008-10-30 17:52:38



I don't see any public answer to this.

What is the best solution.


On another site, someone recommended:


 #define WIN32_LEAN_AND_MEAN


#define _WINSOCKAPI_


However, this solution did not work for me.


Has anyone solved this problem?


Thanks in Advance,




[brand new to this list]



The preceding e-mail message (including any attachments) contains information that may be confidential, or constitute non-public information.
It is intended only for the designated recipient. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail.
If you have received this e-mail by mistake, please notify the sender immediately by replying to this message and delete this e-mail from your system.
Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at