[zeromq-dev] inet_ntop is not available in Windows XP

Dimiter 'malkia' Stanev malkia at gmail.com
Thu Feb 16 23:38:12 CET 2012

Actually in WDK there is SSIZE_T (not a macro), which seems more 
appropriate for the workaround (e.g. -Dssize_t=SSIZE_T).

There is one more problem, unrelated to it:

..\..\..\src\socket_base.cpp(468) : error C2512: 'zmq::ipc_address_t' : 
no appropriate default constructor available
..\..\..\src\socket_base.cpp(470) : error C2027: use of undefined type 
         e:\p\libzmq\src\address.hpp(29) : see declaration of 
..\..\..\src\socket_base.cpp(470) : error C2227: left of '->resolve' 
must point to class/struct/union/generic type

On 2/16/2012 2:31 PM, Dimiter 'malkia' Stanev wrote:
> Synced to latest, but ssize_t is not declared for Windows WDK 7.1, and
> one of the zmq.h functions uses it.
> There is an easy workaround -Dssize_t=ptrdiff_t for my compilation
> process (I compile the library using my own batch file). There is also
> intptr_t, but I chose ptrdiff_t for the workaround, as it's declared in
> more header files in the WDK :)
> I think VS2010 supports ssize_t, but VS2008 probably not, and WDK 7.1 is
> closer to VS2008 than VS2010.
> On 2/16/2012 2:12 PM, Pieter Hintjens wrote:
>> On Thu, Feb 16, 2012 at 4:10 PM, Dimiter 'malkia' Stanev
>> <malkia at gmail.com>   wrote:
>>> Thanks guys! Awesome community!
>> Ian's patch is now merged into libzmq/master.
>> -Pieter

More information about the zeromq-dev mailing list