Hi,
On 2015-03-20 03:14:48 +0300, Max Filippov wrote:
> and the toolchain emits the following warning at linking step:
>
> libcrypto.so: warning: gethostbyname is obsolescent, use
> getnameinfo() instead.
FWIW, I think emitting such errors at link time is utterly pointless and
rather annoying. I can see a point of emitting them them when compiling
code that uses deprecated functions. But we quite obviously can't do
much about openssl using gethostbyname.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services