emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46036: closed (fails do build on macos 10.7)


From: GNU bug Tracking System
Subject: bug#46036: closed (fails do build on macos 10.7)
Date: Sat, 30 Jan 2021 22:17:02 +0000

Your message dated Sat, 30 Jan 2021 22:15:57 +0000
with message-id <YBXancf8dpCPxxYM@breton.holly.idiocy.org>
and subject line Re: bug#46036: fails do build on macos 10.7
has caused the debbugs.gnu.org bug report #46036,
regarding fails do build on macos 10.7
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
46036: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46036
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: fails do build on macos 10.7 Date: Fri, 22 Jan 2021 15:57:18 +0100 User-agent: GNUMail (Version 1.3.0)
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




--- End Message ---
--- Begin Message --- Subject: Re: bug#46036: fails do build on macos 10.7 Date: Sat, 30 Jan 2021 22:15:57 +0000
On Sat, Jan 30, 2021 at 08:34:00PM +0200, Eli Zaretskii wrote:
> > Cc: 46036@debbugs.gnu.org
> > From: Riccardo Mottola <riccardo.mottola@libero.it>
> > Date: Sat, 30 Jan 2021 19:32:17 +0100
> > 
> > > Is this change safe, or will we need another pretest to be sure?  I
> > > thought we could next go straight to a release candidate.
> > 
> > to my knowledge it is safe: it is really equivalent code, the new syntax 
> > is just a shortcut. A test on a newer MacOS is of course needed, I don't 
> > have one.
> 
> Thanks.

I agree that it's safe so I've pushed the change.
-- 
Alan Third


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]