[zeromq-dev] Build errors with Win64 on CZMQ
Steven McCoy
steven.mccoy at miru.hk
Fri Jul 27 03:54:10 CEST 2012
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/5459d08c/attachment.htm>
More information about the zeromq-dev
mailing list