From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adDhN-00031a-43 for qemu-devel@nongnu.org; Tue, 08 Mar 2016 04:13:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adDhJ-00026x-M5 for qemu-devel@nongnu.org; Tue, 08 Mar 2016 04:13:01 -0500 Received: from domu-toccata.ens-lyon.fr ([140.77.166.138]:59550 helo=sonata.ens-lyon.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adDhJ-00026e-Fg for qemu-devel@nongnu.org; Tue, 08 Mar 2016 04:12:57 -0500 Date: Tue, 8 Mar 2016 10:12:55 +0100 From: Samuel Thibault Message-ID: <20160308091255.GH2663@var.home> References: <56DD2430.2090509@redhat.com> <20160307115508.GJ5169@var.bordeaux.inria.fr> <56DE35DD.2080000@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56DE35DD.2080000@redhat.com> Subject: Re: [Qemu-devel] [PATCHv9 0/10] slirp: Adding IPv6 support to Qemu -net user mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: Thomas Huth , zhanghailiang , Li Zhijian , Stefan Hajnoczi , Dave Gilbert , Vasiliy Tolstov , qemu-devel@nongnu.org, Gonglei , Jan Kiszka , Huangpeng , Guillaume Subiron 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