From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Mon, 01 Feb 2016 11:58:13 +0000 Message-ID: References: <87si1gx6wz.fsf@gnus.org> <86y4b5zvzt.fsf@gmail.com> <8760y9kwrk.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1454327939 19667 80.91.229.3 (1 Feb 2016 11:58:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2016 11:58:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 01 12:58:51 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aQD80-0005bt-Pw for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 12:58:44 +0100 Original-Received: from localhost ([::1]:51953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQD80-0003Rv-86 for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 06:58:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQD7l-0003RC-LC for emacs-devel@gnu.org; Mon, 01 Feb 2016 06:58:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQD7i-0002IN-E8 for emacs-devel@gnu.org; Mon, 01 Feb 2016 06:58:29 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQD7i-0002I4-6w for emacs-devel@gnu.org; Mon, 01 Feb 2016 06:58:26 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQD7f-000597-TR for emacs-devel@gnu.org; Mon, 01 Feb 2016 12:58:23 +0100 Original-Received: from uk.solarflare.com ([193.34.186.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2016 12:58:23 +0100 Original-Received: from andrewjmoreton by uk.solarflare.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2016 12:58:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: uk.solarflare.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (windows-nt) Cancel-Lock: sha1:I4++jal3Pu61JhG10GnCGbBxFv4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199116 Archived-At: On Mon 01 Feb 2016, Lars Ingebrigtsen wrote: > Andy Moreton writes: > >> This doesn't build on mingw64: >> >> ../../src/process.c: In function 'Fmake_network_process': >> ../../src/process.c:3589:21: error: 'AF_LOCAL' undeclared (first use in this function) >> if (family != AF_LOCAL) >> ^ > > This should now be fixed... > >> ../../src/process.c:3589:21: note: each undeclared identifier is reported only once for each function it appears in >> ../../src/process.c:3755:19: warning: implicit declaration of function 'Ncons' [-Wimplicit-function-declaration] >> ip_addresses = Ncons (make_number (host_info_ptr->h_addr, >> ^ > > Oops. I obviously hadn't compiled the non-glibc code path at all. I've > now fixed the non-HAVE_GETADDRINFO code paths, I think. Thanks. this gets further, but still has issues. On a mingw64 build (configured with --enable-check-lisp-object-type): ../../src/process.c: In function ‘send_process’: ../../src/process.c:5907:7: error: used struct type value where scalar is required if (p->gnutls_boot_parameters) ^ Shouldn't this be "if (! NILP (p->gnutls_boot_parameters))" ? With that fix, 64bit mingw64 and 64bit cygwin w32 both build ok. AndyM