|
From: | Paul Eggert |
Subject: | Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' |
Date: | Mon, 18 Apr 2022 19:56:15 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 |
On 4/18/22 18:24, Keith David Bershatsky wrote:
CC nsterm.o In file included from nsterm.m:46: lisp.h:2156: warning: declaration does not declare anything CC nsfns.o In file included from nsfns.m:36: lisp.h:2156: warning: declaration does not declare anything nsfns.m:1099: warning: braces around scalar initializer
These come from Emacs 28's use of an anonymous union, a feature that is in C11 but not C99. The feature is used only in one place and it is easy to avoid using it, so I installed a patch to master to do that (see attached).
I noticed another place where Emacs used a feature not supported by C99, namely an enum out of int range, and installed a patch to master to fix that too (also attached).
Although I've been admonished to not install into emacs-28, I think you can use these patches there. They should work though you may need to move their line numbers a bit.
0001-Port-module_bignum_count_max-to-strict-C.patch
Description: Text Data
0002-Port-struct-Lisp_Subr-to-C99.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |