bug-gnulib
[Top][All Lists]
Advanced

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

Re: GNU LIB build fails on macOS 10.12.4


From: Paul Eggert
Subject: Re: GNU LIB build fails on macOS 10.12.4
Date: Sat, 8 Apr 2017 01:24:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

[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.



reply via email to

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