From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#46036: fails do build on macos 10.7 Date: Sat, 30 Jan 2021 10:56:59 +0000 Message-ID: References: <837dnuajkf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4508"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46036@debbugs.gnu.org, Riccardo Mottola To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 30 11:58:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5nxC-00012m-EF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 11:58:10 +0100 Original-Received: from localhost ([::1]:34822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5nxB-0007IV-GH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 05:58:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5nx4-0007IH-NA for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 05:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5nx4-0003Ep-Fy for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 05:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5nx4-00063q-EB for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 05:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jan 2021 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46036 X-GNU-PR-Package: emacs Original-Received: via spool by 46036-submit@debbugs.gnu.org id=B46036.161200423023231 (code B ref 46036); Sat, 30 Jan 2021 10:58:02 +0000 Original-Received: (at 46036) by debbugs.gnu.org; 30 Jan 2021 10:57:10 +0000 Original-Received: from localhost ([127.0.0.1]:53780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nwE-00062d-Gq for submit@debbugs.gnu.org; Sat, 30 Jan 2021 05:57:10 -0500 Original-Received: from outbound.soverin.net ([116.202.65.218]:41597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5nwC-00062P-UU for 46036@debbugs.gnu.org; Sat, 30 Jan 2021 05:57:09 -0500 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4BF8D60157; Sat, 30 Jan 2021 10:57:02 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1612004221; bh=+sLoahdzEWGmJBtSBs8uMkrqyJiLy7ifhWe24r4HQH0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GtNgqjegP93J6EtK1/jfsqjvn2CrObEM1fe6iGrE02+euvEtS/LYKo1bVdMrFjgYW AKAE9fRTOVi9QCe2cAAtLMpYCgBIcLOgp+5x1y/d5tkaAOg/e9Yfr1zvW5uqORP5fl EeUbbNeRDKoo3UqOapGRt4sFo8GulvQ/k8s0B0ItGiO/dtGCrhD7/Bud5hMO7ASVA/ vfLg/S6FrdGxwGwjhF9B7jvcYPn7wk+b63/b5R+6lVnUjeFVL1Lo4vPOsGsgjJk2Cj Gym5h0PVH+Ibez7A8pDd/2b8m1LvIdFIGw4KwExD+Fbn46Ol+viuG2SuBbRuc4Unx8 0tIBBstXXlisQ== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 5E9DA202A0EE6F; Sat, 30 Jan 2021 10:56:59 +0000 (GMT) Mail-Followup-To: Alan Third , Eli Zaretskii , Riccardo Mottola , 46036@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <837dnuajkf.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198927 Archived-At: On Sat, Jan 30, 2021 at 10:57:20AM +0200, Eli Zaretskii wrote: > > Date: Fri, 22 Jan 2021 15:57:18 +0100 > > From: Riccardo Mottola > > > > Compilation of 27.1 yields: > > nsfns.m:496:33: error: unexpected type name 'BOOL': expected expression > > NSNumber *isUbiquitousItem = @YES; > > ^ > > /usr/include/objc/objc.h:50:26: note: expanded from macro 'YES' > > #define YES (BOOL)1 > > ^ > > > > this code is guarded with MacOS 10.7, but the compiler doesn't like it. > > > > It is as easy to write it old-style: > > NSNumber *isUbiquitousItem = [NSNumber numberWithBool:YES]; > > > > and emacs 27.1 happily running on Lion again. > > Alan, any comments on this? Looks fine to me. Is this good to go into Emacs 27, or does it have to wait until the release is done? -- Alan Third