From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Riccardo Mottola Newsgroups: gmane.emacs.bugs Subject: bug#46036: fails do build on macos 10.7 Date: Fri, 22 Jan 2021 15:57:18 +0100 Organization: GNUstep Message-ID: Mime-Version: 1.0 (Generated by Pantomime 1.3.0) Content-Type: text/plain; charset="us-ascii"; format="flowed" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32245"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: GNUMail (Version 1.3.0) To: 46036@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 22 15:59:06 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 1l2xty-0008Fw-Bi for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 15:59:06 +0100 Original-Received: from localhost ([::1]:35120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2xtx-0006gn-92 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Jan 2021 09:59:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2xsw-0006U7-52 for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 09:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l2xsv-0002hi-Sv for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 09:58:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l2xsv-0004wd-QQ for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 09:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Riccardo Mottola Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Jan 2021 14:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46036 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161132746318980 (code B ref -1); Fri, 22 Jan 2021 14:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jan 2021 14:57:43 +0000 Original-Received: from localhost ([127.0.0.1]:60983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2xsO-0004vo-1U for submit@debbugs.gnu.org; Fri, 22 Jan 2021 09:57:43 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2xsL-0004vg-DZ for submit@debbugs.gnu.org; Fri, 22 Jan 2021 09:57:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2xsL-0006Dd-4y for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 09:57:25 -0500 Original-Received: from smtp-16.italiaonline.it ([213.209.10.16]:36697 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l2xsJ-0002ND-5v for bug-gnu-emacs@gnu.org; Fri, 22 Jan 2021 09:57:24 -0500 Original-Received: from localhost.localdomain ([151.55.26.165]) by smtp-16.iol.local with ESMTPA id 2xsElzf0DXJIR2xsElVTwY; Fri, 22 Jan 2021 15:57:20 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1611327440; bh=x4+XfucoO2NI5JUqjmBYHKhNswIWQpUGwfVVZNBA+Z0=; h=From; b=NMgWGxKipXLBtovRrWHmqVLdbyTtm1ZfzQUqJ0DoY2FjZRjkHkb3cQnIMiewkbNCc iwuwG7/7wSqSs4m8oaNa+ZJC9NqHek7nzDwGu1uIJJxTQ8mO7Twy/0FvqnssURM8oD onCX+ZLI8i5n0XflwlzsglznfO8BUU43DPigNISVvKhjgiZukMI8s1CznkeRDFv6/5 Bbtz5HPwFDWz80SGGCXWGlgHCUawlO5SiS3iQI78HUPP8+7LzfgUIMjhw7U883vTrL 5DDdAmaHqoiiU14+KXkgoSl9JybucdTSKrd0B89pjV3kuwU6lAG/JnqtlZJAcNWb8B lqT0eB59Q+TOg== X-CNFS-Analysis: v=2.4 cv=OIbiYQWB c=1 sm=1 tr=0 ts=600ae7d0 cx=a_exe a=prBEniEh8Zy6UboKno6xzQ==:117 a=prBEniEh8Zy6UboKno6xzQ==:17 a=kj9zAlcOel0A:10 a=64styLpe8AgnfOnAaaAA:9 a=CjuIK1q_8ugA:10 X-CMAE-Envelope: MS4xfH+jl+aDFFdn2wajWbSa1M+fpAFj8eu4moDfcgcguqvPiSO4tUm0GPtCcwocOFjaUL2F7dWLYUJvAVkR/EBnHCaHKgmS1xGBIDX7PuR+AngSqpLU8orN HqvbSVnjmZCMchKe1xqIUR3qCftglkuWvP2odMvu4HP0pVESGdQ0WGQjLTkLisJOPGibylh9dGcFhA7EK8hSFbIkiVOgmIbXjUQ= Received-SPF: pass client-ip=213.209.10.16; envelope-from=riccardo.mottola@libero.it; helo=libero.it X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:198374 Archived-At: 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. Thanks