emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration o


From: Alan Third
Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat'
Date: Wed, 20 Apr 2022 17:48:49 +0100

On Wed, Apr 20, 2022 at 06:55:51AM -0700, Keith David Bershatsky wrote:
> Using the most recent patch by Alan permits the build to now proceed to 
> macfont.m, where it stops:
> 
>   CC       macfont.o
> In file included from macfont.m:24:
> lisp.h:2156: warning: declaration does not declare anything
> macfont.m: In function 'mac_font_shape_1':
> macfont.m:425: warning: 'NSLayoutManager' may not respond to 
> '-getGlyphsInRange:glyphs:properties:characterIndexes:bidiLevels:'
> macfont.m:425: warning: (Messages without a matching method signature
> macfont.m:425: warning: will be assumed to return 'id' and accept
> macfont.m:425: warning: '...' as arguments.)

This one is funny since he code's been there since 2017, and according
to Apple the method is supported in 10.6, so I'm leaving it for now
since there's no error.

> macfont.m: In function 'mac_font_create_preferred_family_for_attributes':
> macfont.m:3575: error: 'NSOperatingSystemVersion' undeclared (first use in 
> this function)
> macfont.m:3575: error: (Each undeclared identifier is reported only once
> macfont.m:3575: error: for each function it appears in.)
> macfont.m:3575: error: expected ')' before '{' token
> macfont.m:3576: warning: 'NSProcessInfo' may not respond to 
> '-isOperatingSystemAtLeastVersion:'
> make[1]: *** [macfont.o] Error 1
> make: *** [src] Error 2
> ~/Desktop/emacs $

Please try the attached and let us know what happens.
-- 
Alan Third

Attachment: v4-0001-Fix-nsmenu-compilation-under-macOS-10.6.patch
Description: Text Data


reply via email to

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