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: Keith David Bershatsky
Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat'
Date: Sun, 17 Apr 2022 11:45:26 -0700

Thank you.  The latest patch fixed the `openat` build issue on OSX 10.6.8 (with 
Xcode 3.2.6) using:  ./configure --with-gnutls=ifavailable

The next issue with the build is at nsterm.m.  Would you like me to open a 
separate email with a new subject title?

Keith

  CC       nsterm.o
In file included from nsterm.m:46:
lisp.h:2084: warning: declaration does not declare anything
nsterm.m: In function 'ns_parent_window_rect':
nsterm.m:737: warning: 'NSWindow' may not respond to '-convertRectToScreen:'
nsterm.m:737: warning: (Messages without a matching method signature
nsterm.m:737: warning: will be assumed to return 'id' and accept
nsterm.m:737: warning: '...' as arguments.)
nsterm.m:737: error: incompatible types in assignment
nsterm.m: In function 'ns_frame_scale_factor':
nsterm.m:775: warning: 'NSWindow' may not respond to '-backingScaleFactor'
nsterm.m:775: error: incompatible types in return
nsterm.m: In function '-[EmacsView makeBackingLayer]':
nsterm.m:7822: warning: 'NSWindow' may not respond to '-backingScaleFactor'
nsterm.m:7822: warning: 'EmacsLayer' may not respond to '-setContentsScale:'
nsterm.m: In function '-[EmacsView lockFocus]':
nsterm.m:7839: warning: 'NSGraphicsContext' may not respond to 
'+graphicsContextWithCGContext:flipped:'
nsterm.m: In function '-[EmacsView unlockFocus]':
nsterm.m:7861: warning: 'NSView' may not respond to '-flushWindow'
nsterm.m: In function '-[EmacsView windowDidChangeBackingProperties:]':
nsterm.m:7877: warning: no '-backingScaleFactor' method found
nsterm.m:7877: warning: 'EmacsLayer' may not respond to '-setContentsScale:'
nsterm.m: In function '-[EmacsView copyRect:to:]':
nsterm.m:7899: warning: 'NSWindow' may not respond to '-backingScaleFactor'
nsterm.m:7899: error: incompatible types in initialization
nsterm.m: In function '-[EmacsWindow initWithEmacsFrame:fullscreen:screen:]':
nsterm.m:8322: warning: 'EmacsWindow' may not respond to '-setTabbingMode:'
nsterm.m: In function '-[EmacsWindow setParentChildRelationships]':
nsterm.m:8391: error: 'child' undeclared (first use in this function)
nsterm.m:8391: error: (Each undeclared identifier is reported only once
nsterm.m:8391: error: for each function it appears in.)
nsterm.m:8395: warning: 'EmacsWindow' may not respond to 
'-setAccessibilitySubrole:'
nsterm.m:8397: warning: 'EmacsWindow' may not respond to 
'-setAccessibilitySubrole:'
nsterm.m:8418: error: expected ')' before '{' token
nsterm.m:8431: error: expected expression before '}' token
nsterm.m:8442: error: expected ')' before 'if'
nsterm.m:8448: error: expected expression before '}' token
nsterm.m: In function '-[EmacsLayer dealloc]':
nsterm.m:9441: warning: 'EmacsLayer' may not respond to '-releaseSurfaces'
nsterm.m: In function '-[EmacsLayer releaseSurfaces]':
nsterm.m:9451: warning: 'EmacsLayer' may not respond to '-releaseContext'
nsterm.m: In function '-[EmacsLayer checkDimensions]':
nsterm.m:9473: warning: 'EmacsLayer' may not respond to '-contentsScale'
nsterm.m:9473: error: invalid operands to binary * (have 'CGFloat' and 'id')
nsterm.m:9474: warning: 'EmacsLayer' may not respond to '-contentsScale'
nsterm.m:9474: error: invalid operands to binary * (have 'CGFloat' and 'id')
nsterm.m:9476: warning: 'NSMutableArray' may not respond to '-firstObject'
nsterm.m: In function '-[EmacsLayer getContext]':
nsterm.m:9486: warning: 'EmacsLayer' may not respond to '-contentsScale'
nsterm.m:9486: error: incompatible types in initialization
nsterm.m:9502: warning: implicit declaration of function 'IOSurfaceIsInUse'
nsterm.m:9515: warning: 'NSMutableArray' may not respond to '-firstObject'
nsterm.m:9524: error: stray '@' in program
nsterm.m:9524: warning: initialization from incompatible pointer type
nsterm.m:9524: error: expected '}' before ':' token
nsterm.m:9541: warning: 'EmacsLayer' may not respond to '-copyContentsTo:'
make[1]: *** [nsterm.o] Error 1
make: *** [src] Error 2
~/Desktop/emacs $ 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

> Date: [04-17-2022 10:49:31] <17 Apr 2022 10:49:31 -0700>
> From: Paul Eggert <eggert@cs.ucla.edu>
> To: Mattias Engdegård <mattiase@acm.org>
> Cc: Emacs Devel <emacs-devel@gnu.org>, Keith David Bershatsky 
> <esq@lawlist.com>
> Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit 
> declaration of function 'openat'
> 
> On 4/17/22 02:01, Mattias Engdegård wrote:
> > `openat` was introduced in OS X 10.10, but shouldn't gnulib have a 
> > substitute? Paul?
> 
> * * *



reply via email to

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