From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: macOS/GCC support policy (was: [PATCH v5] Enable xwidgets on macOS) Date: Thu, 1 Aug 2019 22:39:58 +0100 Message-ID: <20190801213958.GA30753@breton.holly.idiocy.org> References: <20190718192321.65684-1-pcr910303@icloud.com> <20190719041654.88561-1-pcr910303@icloud.com> <83pnm5t8ui.fsf@gnu.org> <20190729202649.GA89035@breton.holly.idiocy.org> <0A9ED54B-E381-44AA-9512-40CC0481F097@icloud.com> <20190731195633.GA5520@breton.holly.idiocy.org> <8336ilipe2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170712"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) Cc: pcr910303@icloud.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 01 23:40:14 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htIo1-000iG6-7J for ged-emacs-devel@m.gmane.org; Thu, 01 Aug 2019 23:40:13 +0200 Original-Received: from localhost ([::1]:59340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htInz-0001Jz-L6 for ged-emacs-devel@m.gmane.org; Thu, 01 Aug 2019 17:40:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53191) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htInu-0001JR-V1 for emacs-devel@gnu.org; Thu, 01 Aug 2019 17:40:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htInt-0005fp-QW for emacs-devel@gnu.org; Thu, 01 Aug 2019 17:40:06 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:45725) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htInr-0005ZI-Rw; Thu, 01 Aug 2019 17:40:04 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id f9so75060756wre.12; Thu, 01 Aug 2019 14:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=S8ER6ATUd5oNMCZqMneh65/1fskf9VUO6RL9RaH1yE8=; b=Je0aMWvFbwD1HmXP+ZGAcJvz3Oe4v8mbAI59X5cu6Zr5jP89GOYBcfYxX0Ao5p9EnR k4NhG9dhfUbZ6J6JXbLVEW/2ELKlOoK3Wuwvq+xjTWL3ZuwKXz1YjTkgtZkroTyV0/o8 mv2KuVYX0OqWt0AdDY0pHz4pNToG6L+H+N51wqLWeO3SmFWsBG25AkZirXWm2K0pyosD U6SldQtWbLgoi7nR+CHK+yhXeN5wsOjL9FGmPWcjGoUsSLWVZzXcipxj/dtk5NSyv574 z9WY+/n3uTe0OqA+AKCzqKjvh3BLINVRFcplH7T7UYk91iGwilXgJ61kK/oBQyCPQObu CRyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=S8ER6ATUd5oNMCZqMneh65/1fskf9VUO6RL9RaH1yE8=; b=LLWyXKpys1Py9cDE/MmubMmEg/ddFu01Wu1Cxlp7PEvW+7wxhf77K/oatxVGiKd387 1maZZkhj2ay/3EK8nAmaILtF+ZXocq2N/Q8qLW/NSwGXYU5lD35wYLMoKonfSxsWFD+X qpqcV2XCW+WKZ5RkSVRdfHLuanSmCRoH2yOsyL0dFGcZZgYToXZ8LjrSulDWQfnnSFn2 V8b6Ix0jsInbccBchJ3JoLzLBOUjEuE1/RPK5NREjqI+y72yFQ0tDWzmgehFRlFCI6Ow mQeZszX4i14VDjtj099QwqcmUgizE72vhEdmrrNoSCGhRhiT3res8C/cB0Z+NAZ1sS6z AtVg== X-Gm-Message-State: APjAAAWTRDhcINeX+zZEUViBKk8zApzLZAgh+otdIQqDwv1I2rHEJYi/ IbjgwYgqX8po8BP+B7uG22oixc6M X-Google-Smtp-Source: APXvYqw25manaC7098HMyp6YKr9u1cBolnqEHJv/LwPI//DEdmLJNU3plo9zZ9Ode+g5yg14IgIebA== X-Received: by 2002:a05:6000:145:: with SMTP id r5mr62468385wrx.208.1564695601652; Thu, 01 Aug 2019 14:40:01 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-2c59-d0d6-d3c3-858e.holly.idiocy.org. [2001:8b0:3f8:8129:2c59:d0d6:d3c3:858e]) by smtp.gmail.com with ESMTPSA id q193sm58133625wme.8.2019.08.01.14.40.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 14:40:01 -0700 (PDT) Content-Disposition: inline In-Reply-To: <8336ilipe2.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::435 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:239116 Archived-At: On Thu, Aug 01, 2019 at 05:35:33AM +0300, Eli Zaretskii wrote: > > Date: Wed, 31 Jul 2019 20:56:33 +0100 > > From: Alan Third > > Cc: Eli Zaretskii , emacs-devel@gnu.org > > > > On Wed, Jul 31, 2019 at 12:33:36AM +0900, 조성빈 wrote: > > > > 2019. 7. 30. 오전 5:26, Alan Third 작성: > > > > > > > > Anyway, the code contains two calls to > > > > evaluateJavaScript:completionHandler: which is a problem as we’re > > > > banned from using ObjC blocks, and the completion handler is an ObjC > > > > block. Unless GCC supports them now, which I doubt. > > > > > > Does that mean this patch can never get merged until gcc supports blocks? > > > > We’ve had to remove blocks from Emacs code before because gcc doesn’t > > support them, however Emacs can’t be built with gcc on recent (like, > > the last decade or something) versions of macOS anyway. I don’t really > > understand the logic, but it’s not my project. > > > > I think it’s really up to Eli and/or RMS. > > I don't think I understand the issue well enough to say anything > intelligent. What are "ObjC blocks", and why this patch cannot do > without them? I found the previous thread about removing them from macfont.m: https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-12/msg00301.html -- Alan Third