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 17:38:54 -0700

Yes, sqlite.diff permitted the build on the master branch to advance forward to 
nsterm.m, where it stopped:

  CC       nsterm.o
In file included from nsterm.m:46:
lisp.h:2156: warning: declaration does not declare anything
nsterm.m: In function 'ns_parent_window_rect':
nsterm.m:754: warning: 'NSWindow' may not respond to '-convertRectToScreen:'
nsterm.m:754: warning: (Messages without a matching method signature
nsterm.m:754: warning: will be assumed to return 'id' and accept
nsterm.m:754: warning: '...' as arguments.)
nsterm.m:754: error: incompatible types in assignment
nsterm.m: In function 'ns_frame_scale_factor':
nsterm.m:792: warning: 'NSWindow' may not respond to '-backingScaleFactor'
nsterm.m:792: error: incompatible types in return
nsterm.m: In function '-[EmacsView magnifyWithEvent:]':
nsterm.m:6887: warning: 'NSEvent' may not respond to '-phase'
nsterm.m:6887: error: 'NSEventPhaseBegan' undeclared (first use in this 
function)
nsterm.m:6887: error: (Each undeclared identifier is reported only once
nsterm.m:6887: error: for each function it appears in.)
nsterm.m: In function '-[EmacsWindow initWithEmacsFrame:fullscreen:screen:]':
nsterm.m:8386: warning: 'EmacsWindow' may not respond to '-setTabbingMode:'
nsterm.m: In function '-[EmacsWindow setParentChildRelationships]':
nsterm.m:8455: error: 'child' undeclared (first use in this function)
nsterm.m:8459: warning: 'EmacsWindow' may not respond to 
'-setAccessibilitySubrole:'
nsterm.m:8461: warning: 'EmacsWindow' may not respond to 
'-setAccessibilitySubrole:'
nsterm.m:8491: error: expected ')' before '{' token
nsterm.m:8504: error: expected expression before '}' token
nsterm.m:8515: error: expected ')' before 'if'
nsterm.m:8521: error: expected expression before '}' token
make[1]: *** [nsterm.o] Error 1
make: *** [src] Error 2
~/Desktop/emacs $ 

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

> Date: [04-17-2022 16:21:40] <17 Apr 2022 16:21:40 -0700>
> From: Paul Eggert <eggert@cs.ucla.edu>
> To: Keith David Bershatsky <esq@lawlist.com>
> Cc: emacs-devel@gnu.org, Alan Third <athird@googlemail.com>, Mattias 
> EngdegÄrd <mattiase@acm.org>
> Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit 
> declaration of function 'openat'
> 
> On 4/17/22 14:57, Keith David Bershatsky wrote:
> > Using the master branch as of the most recent commit 
> > (6cd43d62055c9ec27cacdcaff13d4a52b7efdff2), with OSX 10.6.8 (Xcode 3.2.6), 
> > ./configure --with-gnutls=ifavailable, the build process stops before it 
> > gets to nsterm.m:
> >
> >    CC       sqlite.o
> > sqlite.c: In function 'Fsqlite_open':
> > sqlite.c:265: error: 'SQLITE_OPEN_MEMORY' undeclared (first use in this 
> > function)
> 
> Does the attached fix that for you? (This also fixes a memory leak.)



reply via email to

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