[asio-users] Warnings on Visual C++ 2005
Brought to you by:
chris_kohlhoff
From: jgeorgal <jge...@cs...> - 2006-12-13 18:30:15
|
Hello, I get the following warnings while compiling my programs with Visual Studio 2005: c:\devel\deltaide-deps-2.0\include\boost\asio\detail\socket_ops.hpp(445) : warning C4267: 'initializing' : conversion from 'size_t' to 'DWORD', possible loss of data c:\devel\deltaide-deps-2.0\include\boost\asio\detail\socket_ops.hpp(1369) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data c:\devel\deltaide-deps-2.0\include\boost\asio\detail\socket_ops.hpp(1450) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data c:\devel\deltaide-deps-2.0\include\boost\asio\detail\socket_ops.hpp(1450) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data c:\devel\deltaide-deps-2.0\include\boost\asio\ip\basic_resolver_iterator.hpp(83) : warning C4267: 'argument' : conversion from 'size_t' to 'boost::asio::ip::basic_endpoint<Protocol>::size_type', possible loss of data with [ Protocol=boost::asio::ip::tcp ] c:\devel\deltaide-deps-2.0\include\boost\asio\ip\basic_resolver_iterator.hpp(65) : while compiling class template member function 'boost::asio::ip::basic_resolver_iterator<Protocol> boost::asio::ip::basic_resolver_iterator<Protocol>::create(boost::asio::detail::addrinfo_type *,const std::string &,const std::string &)' with [ Protocol=boost::asio::ip::tcp ] Nothing too important ... but still very annoying. These warnings are easy to correct ... so if no one wants to take it up I can fix them and submit a patch if that's ok with you. Thanks, Giannis |