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: Harald Maier
Subject: Re: 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 <address@hidden>:
> 
> 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>




reply via email to

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