VS2010 fatal error C1189
Posted: Thu Sep 13, 2012 5:39 pm
Upgrading source from 2.00.2648 to 2.00.2661 I've got this error on VS2010:
RCF\include\RCF/external/asio/asio/detail/socket_types.hpp(22): fatal error C1189: #error : WinSock.h has already been included
Searching on net I've found the causes, but I'm not able (already using WIN32_LEAN_AND_MEAN - other errors putting winsok2.h on top of stdafx.h) to avoid the problem.
Can someone have found a solution ?
TIA
RCF\include\RCF/external/asio/asio/detail/socket_types.hpp(22): fatal error C1189: #error : WinSock.h has already been included
Searching on net I've found the causes, but I'm not able (already using WIN32_LEAN_AND_MEAN - other errors putting winsok2.h on top of stdafx.h) to avoid the problem.
Can someone have found a solution ?
TIA