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: Thu, 21 Apr 2022 13:51:03 -0700

I kept the combined two most recent changes, and I made the new change, and 
have the following build output:

  CC       nsterm.o
nsterm.m: In function 'ns_query_color':
nsterm.m:2125: error: 'genericRGBColorSpace' undeclared (first use in this 
function)
nsterm.m:2125: error: (Each undeclared identifier is reported only once
nsterm.m:2125: error: for each function it appears in.)
make[1]: *** [nsterm.o] Error 1
make: *** [src] Error 2
~/Desktop/emacs $ 

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

> Date: [04-21-2022 12:21:37] <21 Apr 2022 20:21:37 +0100>
> From: Alan Third <alan@idiocy.org>
> To: Keith David Bershatsky <esq@lawlist.com>
> Cc: emacs-devel@gnu.org, Po Lu <luangruo@yahoo.com>, Mattias EngdegÄrd 
> <mattiase@acm.org>, Paul Eggert <eggert@cs.ucla.edu>
> Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit 
> declaration of function 'openat'
> 
> On Thu, Apr 21, 2022 at 10:52:19AM -0700, Keith David Bershatsky wrote:
> > The gdb backtrace text file colorUsingDefaultColorSpace.txt relates
> > to _only_ the change of deviceRGBColorSpace to genericRGBColorSpace.
> >
> > The gdb backtrace text file unsignedlong.txt relates to _only_ the
> > change the change of [self getRed:&r green:&g blue:&b alpha:&a]; to
> > [[self colorUsingDefaultColorSpace] getRed:&r green:&g blue:&b
> > alpha:&a];
> >
> > The gdb backtrace text file both_changes.txt relates to both of the
> > suggested changes.
> 
> OK, thanks...
> 
> Can you please try changing ns_query_color so that
> 
>   [((NSColor *)col) getRed: &r green: &g blue: &b alpha: &a];
> 
> is
> 
>   [[((NSColor *)col) colorUsingColorSpace:genericRGBColorSpace]
>     getRed: &r green: &g blue: &b alpha: &a];
> 
> I'm not holding out much hope here. I can't see what change has caused
> this. There's been a lot of changes to the colour handling, but afaict
> the colour spaces should all be unchanged. Especially on 10.6...
> --
> Alan Third



reply via email to

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