Hi all,
I downloaded TFS SDK v2.0 and Boosts x64 from Wiki Github (OTLand) but when I compiling sources I have errors:
What's wrong? ;/ I build: Release x64
I downloaded TFS SDK v2.0 and Boosts x64 from Wiki Github (OTLand) but when I compiling sources I have errors:
Code:
------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1> otpch.cpp
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(1346): warning C4996: 'WSASocketA': Use WSASocketW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(3457) : see declaration of 'WSASocketA'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(1954): warning C4996: 'WSAAddressToStringA': Use WSAAddressToStringW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(3556) : see declaration of 'WSAAddressToStringA'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(2160): warning C4996: 'WSAStringToAddressA': Use WSAStringToAddressW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(3623) : see declaration of 'WSAStringToAddressA'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(2295): warning C4996: 'gethostbyaddr': Use getnameinfo() or GetNameInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2216) : see declaration of 'gethostbyaddr'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_ops.ipp(2344): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(2238) : see declaration of 'gethostbyname'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_select_interrupter.ipp(62): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(1850) : see declaration of 'inet_addr'
1>C:\local\boost_1_55_0\boost/asio/detail/impl/socket_select_interrupter.ipp(75): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings
1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(1850) : see declaration of 'inet_addr'
What's wrong? ;/ I build: Release x64