From: Harald Maier <Harald@Maierh.de>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Zack Weinberg <zackw@panix.com>, Gnulib bugs <bug-gnulib@gnu.org>,
26398@debbugs.gnu.org
Subject: bug#26398: GNU LIB build fails on macOS 10.12.4
Date: Sat, 8 Apr 2017 12:31:11 +0200 [thread overview]
Message-ID: <24445484-FD22-4DD6-8337-E741570B4897@Maierh.de> (raw)
In-Reply-To: <bdc231db-f2a9-caf6-ef8d-20f144f06702@cs.ucla.edu>
Yes, this fixes the problem and compilation works without errors.
Harald
> Am 08.04.2017 um 11:38 schrieb Paul Eggert <eggert@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>
next prev parent reply other threads:[~2017-04-08 10:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-08 7:14 bug#26398: 26.0.50; GNU LIB build fails on macOS 10.12.4 Harald Maier
2017-04-08 8:24 ` bug#26398: " Paul Eggert
2017-04-08 8:43 ` Harald Maier
2017-04-08 9:38 ` Paul Eggert
[not found] ` <bdc231db-f2a9-caf6-ef8d-20f144f06702@cs.ucla.edu>
2017-04-08 10:31 ` Harald Maier [this message]
2017-04-08 15:24 ` Zack Weinberg
[not found] ` <CAKCAbMis9L+_1=JukqJT4N9AKePvUHBSttyb03pCbXSLj5gLig@mail.gmail.com>
2017-04-09 8:03 ` Paul Eggert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24445484-FD22-4DD6-8337-E741570B4897@Maierh.de \
--to=harald@maierh.de \
--cc=26398@debbugs.gnu.org \
--cc=bug-gnulib@gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=zackw@panix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.