[zeromq-dev] Just ran some tests with x64
Steven McCoy
steven.mccoy at miru.hk
Thu May 12 21:06:08 CEST 2011
On 13 May 2011 02:50, Christian Martinez <chmar at microsoft.com> wrote:
> Here you go Martin
>
>
> 1>------ Rebuild All started: Project: libzmq, Configuration: Release x64
> ------
> 1> 1 file(s) copied.
> 1> clock.cpp
> 1> command.cpp
> 1> connect_session.cpp
> 1> ctx.cpp
> 1>c:\software\zeromq-2.1.6\src\array.hpp(102): warning C4267: 'argument' :
> conversion from 'size_t' to 'int', possible loss of data
> 1> c:\software\zeromq-2.1.6\src\array.hpp(100) : while compiling
> class template member function 'void zmq::array_t<T>::push_back(T *)'
> 1> with
> 1> [
> 1> T=zmq::socket_base_t
> 1> ]
> 1> c:\software\zeromq-2.1.6\src\ctx.hpp(105) : see reference to
> class template instantiation 'zmq::array_t<T>' being compiled
> 1> with
> 1> [
> 1> T=zmq::socket_base_t
> 1> ]
> 1>c:\software\zeromq-2.1.6\src\array.hpp(112): warning C4267: 'argument' :
> conversion from 'size_t' to 'int', possible loss of data
> 1> c:\software\zeromq-2.1.6\src\array.hpp(110) : while compiling
> class template member function 'void zmq::array_t<T>::erase(unsigned
> __int64)'
> 1> with
> 1> [
> 1> T=zmq::socket_base_t
> 1> ]
This seems to imply std::vector::size_type is size_t which conflicts with
zmq::array_item_t::array_index being an int, suggesting that if you are
going to use size_type continue through as the type for array_index.
--
Steve-o
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110513/ae792841/attachment.htm>
More information about the zeromq-dev
mailing list