Boost logo

Boost Users :

Subject: [Boost-users] [asio] INET_ADDRSTRLEN undeclared under cygwin
From: Igor R (boost.lists_at_[hidden])
Date: 2010-11-21 14:53:11


Hello,

I build my project under Cygwin, and get errors like this:
.../boost/asio/detail/socket_types.hpp:125: error: 'INET_ADDRSTRLEN'
was not declared in this scope

I see that INET_ADDRSTRLEN is defined in /usr/include/cygwin/in.h ,
but asio doesn't include it.
Besides, there're some more undefined macros, which are defined in
/usr/include/cygwin/in6.h
Meanwhile I apply an ad-hoc solution, but I'm wondering if someone
else encountered this issue and what would be the right solution.

Thanks.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net