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 10:57:20 +0200 Message-ID: <837dnuajkf.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13736"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46036@debbugs.gnu.org To: Riccardo Mottola , Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 30 09:58:28 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 1l5m5L-0003QX-96 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 09:58:27 +0100 Original-Received: from localhost ([::1]:50760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5m5K-0007qf-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Jan 2021 03:58:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5m55-0007qF-Cr for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 03:58:12 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5m4w-0000dB-CN for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 03:58:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5m4w-00011g-A4 for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 03:58: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 08: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.16119970303883 (code B ref 46036); Sat, 30 Jan 2021 08:58:02 +0000 Original-Received: (at 46036) by debbugs.gnu.org; 30 Jan 2021 08:57:10 +0000 Original-Received: from localhost ([127.0.0.1]:53629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5m45-00010W-Gg for submit@debbugs.gnu.org; Sat, 30 Jan 2021 03:57:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5m42-000105-SP for 46036@debbugs.gnu.org; Sat, 30 Jan 2021 03:57:08 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40601) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5m3x-0000Fb-2U; Sat, 30 Jan 2021 03:57:01 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1498 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l5m3w-0004ME-B6; Sat, 30 Jan 2021 03:57:00 -0500 In-Reply-To: (message from Riccardo Mottola on Fri, 22 Jan 2021 15:57:18 +0100) 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:198918 Archived-At: > 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?