GNU bug report logs - #58108
29.0.50; [noverlay] Build error on MacOS

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Tue, 27 Sep 2022 10:18:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: 58108 <at> debbugs.gnu.org
Subject: bug#58108: 29.0.50; [noverlay] Build error on MacOS
Date: Tue, 27 Sep 2022 12:17:40 +0200
The branch currently does not build on macOS 12.6, since nil is reserved
in ObjC. See error below.  I'll try to fix that soon.

In file included from nsfns.m:41:
In file included from ./buffer.h:28:
./itree.h:57:24: error: expected member name or ';' after declaration specifiers
  struct interval_node nil;     /* The tree's version of NULL. */
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/MacTypes.h:94:19: note: expanded from macro 'nil'
      #define nil __DARWIN_NULL
                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/_types.h:52:25: note: expanded from macro '__DARWIN_NULL'
#define __DARWIN_NULL ((void *)0)
                        ^




This bug report was last modified 2 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.