From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46036: fails do build on macos 10.7 Date: Sat, 30 Jan 2021 14:05:05 +0200 Message-ID: <83v9be8wb2.fsf@gnu.org> References: <837dnuajkf.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1763"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46036@debbugs.gnu.org, riccardo.mottola@libero.it To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 30 13:05: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 1l5p02-0000HF-LN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 13:05:10 +0100 Original-Received: from localhost ([::1]:51222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5p01-0002ad-AN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 07:05:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5ozu-0002aR-Qq for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 07:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5ozu-0008Iv-JB for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 07:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5ozu-0007xW-Bz for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 07:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Jan 2021 12:05: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.161200829530578 (code B ref 46036); Sat, 30 Jan 2021 12:05:02 +0000 Original-Received: (at 46036) by debbugs.gnu.org; 30 Jan 2021 12:04:55 +0000 Original-Received: from localhost ([127.0.0.1]:53990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5ozm-0007x6-9F for submit@debbugs.gnu.org; Sat, 30 Jan 2021 07:04:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5ozj-0007wt-Ns for 46036@debbugs.gnu.org; Sat, 30 Jan 2021 07:04:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43064) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5ozd-0008Ad-U7; Sat, 30 Jan 2021 07:04:45 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1217 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l5ozc-0000zo-TT; Sat, 30 Jan 2021 07:04:45 -0500 In-Reply-To: (message from Alan Third on Sat, 30 Jan 2021 10:56:59 +0000) 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:198929 Archived-At: > Date: Sat, 30 Jan 2021 10:56:59 +0000 > From: Alan Third > Cc: Riccardo Mottola , 46036@debbugs.gnu.org > > 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? Please push to emacs-27. Is this change safe, or will we need another pretest to be sure? I thought we could next go straight to a release candidate. Thanks.