[zeromq-dev] Build errors with Win64 on CZMQ
Steven McCoy
steven.mccoy at miru.hk
Fri Jul 27 04:38:27 CEST 2012
I found a ssize_t in there too, Windows only has SSIZE_T.
--
Steve-o
On 26 July 2012 21:54, Steven McCoy <steven.mccoy at miru.hk> wrote:
> Looks like the code is not both C99 and C++2003 compliant:
>
> C:\temp\czmq-1.1.0\src\zhash.c(131) : warning C4996: 'strdup': The POSIX
> name for this item is deprecated. Instead, use the ISO C++ conformant name:
> _strdup. See online help for details.
> c:\Program Files (x86)\Microsoft Visual Studio
> 10.0\VC\INCLUDE\string.h(238) : see declaration of 'strdup'
> C:\temp\czmq-1.1.0\src\zmsg.c(179) : error C2440: 'initializing' : cannot
> convert from 'void *' to 'zframe_t *'
> Conversion from 'void*' to pointer to non-'void' requires an
> explicit cast
> C:\temp\czmq-1.1.0\src\zmsg.c(462) : error C2440: '=' : cannot convert
> from 'void *' to 'byte *'
> Conversion from 'void*' to pointer to non-'void' requires an
> explicit cast
> C:\temp\czmq-1.1.0\src\zmsg.c(680) : error C2440: 'initializing' : cannot
> convert from 'void *' to 'byte *'
> Conversion from 'void*' to pointer to non-'void' requires an
> explicit cast
>
> --
> Steve-o
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120726/9c509365/attachment.htm>
More information about the zeromq-dev
mailing list