From: Paul Eggert <eggert@cs.ucla.edu>
To: Harald Maier <Harald@Maierh.de>
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 01:24:46 -0700 [thread overview]
Message-ID: <a200b92f-5858-29a0-4f33-f688cf59c7f5@cs.ucla.edu> (raw)
In-Reply-To: <999C877D-7C56-469F-971E-0F902F5D4A55@Maierh.de>
[Following up on http://bugs.gnu.org/26398 and CC'ing bug-gnulib and Zack Weinberg.]
> In file included from ./unistd.h:135:
> In file included from ./getopt_pfx_core.h:52:
> ./getopt_core.h:91:79: error: expected ';' after top level declarator
> extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
Can you please send the preprocessor output for the failed compilation?
That is, try running "make V=1". If the failed command looks like this:
clang -c -Dthis -Dthat -Dtheother fstatat.c
then run this command:
clang -E -Dthis -Dthat -Dtheother fstatat.c >fstatat.i
and send a copy of fstatat.i as an attachment.
Also, can you find out which .h file defined __THROW and __nonnull in your
environment? I have the sneaking suspicion that it's some .h file other than
getopt_cdefs.h.
Thanks.
next prev parent reply other threads:[~2017-04-08 8:24 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 ` Paul Eggert [this message]
2017-04-08 8:43 ` bug#26398: " 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
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=a200b92f-5858-29a0-4f33-f688cf59c7f5@cs.ucla.edu \
--to=eggert@cs.ucla.edu \
--cc=26398@debbugs.gnu.org \
--cc=Harald@Maierh.de \
--cc=bug-gnulib@gnu.org \
--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.