GNU bug report logs - #26398
26.0.50; GNU LIB build fails on macOS 10.12.4

Previous Next

Package: emacs;

Reported by: Harald Maier <Harald <at> Maierh.de>

Date: Sat, 8 Apr 2017 07:15:02 UTC

Severity: normal

Found in version 26.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Harald Maier <Harald <at> Maierh.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Gnulib bugs <bug-gnulib <at> gnu.org>, Zack Weinberg <zackw <at> panix.com>, 26398 <at> debbugs.gnu.org
Subject: bug#26398: GNU LIB build fails on macOS 10.12.4
Date: Sat, 8 Apr 2017 12:31:11 +0200
Yes, this fixes the problem and compilation works without errors.

Harald

> Am 08.04.2017 um 11:38 schrieb Paul Eggert <eggert <at> cs.ucla.edu>:
> 
> Harald Maier wrote:
>> They __THROW and __nonnull are defined in „getopt_cdefs.h“.
> 
> Thanks, I think I see the problem. Either the compiler or some macOS header does "#define __nonnull _Nonnull", and this collides with glibc's use of __nonnull. Presumably Clang uses _Nonnull as a type qualifier and some Clang headers use __nonnull as an alias for _Nonnull.
> 
> Please try the attached patch against Emacs master. If it works I plan to install it into Emacs and propagate it into Gnulib.
> <emacs.diff>





This bug report was last modified 8 years and 48 days ago.

Previous Next


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