From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Caldwell Newsgroups: gmane.emacs.bugs Subject: bug#27059: Can't compile master branch on Mac OS X Date: Wed, 31 May 2017 16:39:51 -0700 Message-ID: <27016bc3-e113-c6b2-a323-24517c3e98d1@porkrind.org> References: <2b432643-7cfb-fa05-6b08-97bfc1da9d2b@porkrind.org> <20170525190220.GA3197@breton.holly.idiocy.org> <3bf5df87-a353-89d1-f78d-e15046321759@porkrind.org> <20170526235841.GA67449@breton.holly.idiocy.org> <762c9c53-835d-72fd-2a00-e1a18e23b5f8@porkrind.org> <20170529160535.GA71472@breton.holly.idiocy.org> <6c9211d5-a290-47a6-481b-77c57203a87a@porkrind.org> <20170530190117.GA71905@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oi2N1khiiOfbAa1dGqqeF1SNwNPMavOpF" X-Trace: blaine.gmane.org 1496274078 14787 195.159.176.226 (31 May 2017 23:41:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 May 2017 23:41:18 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: 27059@debbugs.gnu.org, Philipp Stephani To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 01 01:41:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGDEk-0003Gr-Cu for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jun 2017 01:41:10 +0200 Original-Received: from localhost ([::1]:34375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGDEm-0004l9-GU for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 May 2017 19:41:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGDEf-0004kr-Pq for bug-gnu-emacs@gnu.org; Wed, 31 May 2017 19:41:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGDEc-00033S-HV for bug-gnu-emacs@gnu.org; Wed, 31 May 2017 19:41:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGDEc-00033L-BI for bug-gnu-emacs@gnu.org; Wed, 31 May 2017 19:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGDEb-000196-VR for bug-gnu-emacs@gnu.org; Wed, 31 May 2017 19:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Caldwell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 May 2017 23:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27059 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27059-submit@debbugs.gnu.org id=B27059.14962740164345 (code B ref 27059); Wed, 31 May 2017 23:41:01 +0000 Original-Received: (at 27059) by debbugs.gnu.org; 31 May 2017 23:40:16 +0000 Original-Received: from localhost ([127.0.0.1]:48129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGDDs-000181-KY for submit@debbugs.gnu.org; Wed, 31 May 2017 19:40:16 -0400 Original-Received: from sa38.galvanix.net ([98.126.48.38]:48720 helo=smtp.porkrind.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dGDDq-00017s-VS for 27059@debbugs.gnu.org; Wed, 31 May 2017 19:40:15 -0400 Original-Received: from porkrind.org (cpe-76-170-47-184.socal.res.rr.com [76.170.47.184]) by smtp.porkrind.org (Postfix) with ESMTPS id D91F75F9DA; Wed, 31 May 2017 16:39:58 -0700 (PDT) Authentication-Results: smtp.porkrind.org; dkim=pass (1536-bit key; unprotected) header.d=porkrind.org header.i=@porkrind.org header.b="eJvrnShQ"; dkim-atps=neutral Original-Received: from [10.0.0.199] (black.local [10.0.0.199]) (authenticated bits=0) by porkrind.org (8.15.2/8.15.2/Debian-8) with ESMTPSA id v4VNdtH7022544 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 31 May 2017 16:39:56 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1496273996; bh=2rVfpODSxsJ5MtBlmcyyM1KlZMP7IS+0q/uJEMoPS0I=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=eJvrnShQERiApG3se48ueOZSPoZ4mtmUqAaeU9YfhlgthzNHH5Zx6I1XdCuCKl1kW c3D86oYr8p2gIOB957aSJ1Efq3B5Vfvr/Xk9dAUB86/NhVRljZSSCT6FHvAmyUY+Rt 57j3/Cu9CQNvICOYtzuJtQ6rHxFy2Ecs+nqKAh3BuH0Iw/kAoBelwMygHoVxBP+sMk AHXrO9+3RiH7WcGeb6Vsyo0qVWXsTAhHbvlNsrAuwYzVnaiMT+5HeGvB7rY Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== In-Reply-To: <20170530190117.GA71905@breton.holly.idiocy.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133113 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --oi2N1khiiOfbAa1dGqqeF1SNwNPMavOpF Content-Type: multipart/mixed; boundary="OHRI1OiHakniKR7fLfVnVcN74vXLrXAct"; protected-headers="v1" From: David Caldwell To: Alan Third Cc: 27059@debbugs.gnu.org, Philipp Stephani Message-ID: <27016bc3-e113-c6b2-a323-24517c3e98d1@porkrind.org> Subject: Re: bug#27059: Can't compile master branch on Mac OS X References: <2b432643-7cfb-fa05-6b08-97bfc1da9d2b@porkrind.org> <20170525190220.GA3197@breton.holly.idiocy.org> <3bf5df87-a353-89d1-f78d-e15046321759@porkrind.org> <20170526235841.GA67449@breton.holly.idiocy.org> <762c9c53-835d-72fd-2a00-e1a18e23b5f8@porkrind.org> <20170529160535.GA71472@breton.holly.idiocy.org> <6c9211d5-a290-47a6-481b-77c57203a87a@porkrind.org> <20170530190117.GA71905@breton.holly.idiocy.org> In-Reply-To: <20170530190117.GA71905@breton.holly.idiocy.org> --OHRI1OiHakniKR7fLfVnVcN74vXLrXAct Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 5/30/17 12:01 PM, Alan Third wrote: > On Tue, May 30, 2017 at 11:36:43AM -0700, David Caldwell wrote: >> nsfns.m: In function 'compute_tip_xy': >> nsfns.m:2756: error: conversion to non-scalar type requested >> nsfns.m:2756: error: conversion to non-scalar type requested >> make[1]: *** [nsfns.o] Error 1 >> make: *** [src] Error 2 >> >> This was the best I could come up with for this compiler: >> >> NSRect r =3D [screen frame]; >> if (CGRectContainsPoint (*(CGRect*)&r, *(CGPoint*)&pt)) >> >> (yuck). >=20 > Indeed. >=20 >> Maybe it would be better to fall back to the GNUStep else clause in >> these cases? >=20 > That=E2=80=99s exactly what I was thinking as I read through this. Ther= e=E2=80=99s no > reason not to, afaict it is exactly equivalent. >=20 > I=E2=80=99ve attached a patch that reverts to the GNUstep code in all c= ases > and explains why. I like it. That patch works on this old compiler--with it i686 gcc now gets to the elisp compilation phase (I didn't have the patience to sit through that part ;-)). -David --OHRI1OiHakniKR7fLfVnVcN74vXLrXAct-- --oi2N1khiiOfbAa1dGqqeF1SNwNPMavOpF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfnJ2gPPXZGOSC9i9yVoKdBBFZoIFAlkvVEgACgkQyVoKdBBF ZoL0Xg//Qo6LrS62keUnTUUN77ry5OnFUIFGquOdEXncBtTpcd8SmIj8HiitvPi4 CuNzs+ey+zE+srzYJkavCwKwtmPbw3LcbGT7v37HqTeA7eXimQk3RUfnvWT6DLDm YNjDyQAaySrZ3IeCyzvDVmcaHq6zLrW7I2nbfKbxSwKrGVq7Z5VSMslXN6Cm3ycR glWszgF5qpcpV1Lly/MGEJDV0c4veE40UVEWX7J3Hy+So1qbKqjMvqKxGzfV5EZT npHlLoxZ6HgM2bT7ZoAyz8nPdj7NwytbvKUgk+L4YXmbz2uksTtRHzgH2+Sbfw8J +DtlfTg95Bd6KOAd8Gfv7I4n3nh4y4n/VCP9Hvc2+2GXD6CLs6g/DFNJskx2kuue XI2JfudvykbnGE0nHI7dmdTazwTX/YoUp8F4CGx2Ho7X29TXg4BuqhzBr+EeL/xK TTxtw0sR43P1pMStQp8NE3HAQ2WoXYxwL4BkxWBTJRREQxO5aqO9svQ2kNcupYfA Gg6qeR6X9pQlZkJj5Sw4QHO7lUgXQaSYLvpEIykoId93HutxDgdwLiAvzk7dQX03 XSBbn8sVVtVoOXKI/NYpnUPc58mCVUbnLqQdRg23UYIzYa/02Tje+VHYwtTl93Vf 9wCc14Y/utUGVFAcXK/qFUBVFAHkeT3DU6WdIWE6OJDfUt0DTJ0= =NaAt -----END PGP SIGNATURE----- --oi2N1khiiOfbAa1dGqqeF1SNwNPMavOpF--