bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] inet_ntop() in mswindows.c


From: Gisle Vanem
Subject: Re: [Bug-wget] inet_ntop() in mswindows.c
Date: Mon, 6 Mar 2017 21:08:19 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Tim Rühsen wrote:

> inet_ntop should be covered by gnulib, also for mswindows. What about 
> removing 
> inet_ntop from mswindows.c ? Does it compile and work ?

No:
  host.obj : error LNK2019: unresolved external symbol _inet_ntop referenced in 
function _cache_store
  main.obj : error LNK2019: unresolved external symbol _inet_pton referenced in 
function _main

(these should probably be 'rpl_inet_*' for compatibility with older Windows?)

A missing '#include <arpa/inet.h>' for Win32 somewhere.
Where is the best place to put it?

-- 
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]