[Top][All Lists]

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

bug#26398: GNU LIB build fails on macOS 10.12.4

From: Paul Eggert
Subject: bug#26398: GNU LIB build fails on macOS 10.12.4
Date: Sat, 8 Apr 2017 02:38:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

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.

Attachment: emacs.diff
Description: Text Data

reply via email to

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