qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net


From: Samuel Thibault
Subject: Re: [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net user mode
Date: Tue, 8 Mar 2016 10:12:55 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Jason Wang, on Tue 08 Mar 2016 10:15:57 +0800, wrote:
> Build works but get some warnings:
> 
> 
> slirp/ip6_icmp.c: In function 'icmp6_send_error':
> slirp/ip6_icmp.c:84:5: warning: implicit declaration of function
> 'inet_ntop' [-Wimplicit-function-declaration]
>      inet_ntop(AF_INET6, &rip->ip_dst, addrstr, INET6_ADDRSTRLEN);
>      ^
> slirp/ip6_icmp.c:84:5: warning: nested extern declaration of 'inet_ntop'
> [-Wnested-externs]
> 
> and
> 
> slirp/slirp.c: In function 'slirp_init':
> slirp/slirp.c:226:5: warning: implicit declaration of function
> 'inet_pton' [-Wimplicit-function-declaration]
>      inet_pton(AF_INET6, "fec0::0", &slirp->vprefix_addr6);
>      ^
> slirp/slirp.c:226:5: warning: nested extern declaration of 'inet_pton'
> [-Wnested-externs]

Thomas reported them in another mail, yes.  I have changed that into not
using inet_pton/ntop when built with windows compatibility before Vista.

> (btw, you may refer http://wiki.qemu.org/Hosts/W32 to test this yourself).

I've tried it yesterday, yes, but now qemu needs glib & such, so it'd
need cross-building it...

Samuel



reply via email to

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