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 10:52:19 -0700

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.

Thanks,

Keith

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

> Date: [04-20-2022 22:09:00] <21 Apr 2022 06:09:00 +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 Wed, Apr 20, 2022 at 05:51:32PM -0700, Keith David Bershatsky wrote:
> > 2022-04-20 17:40:19.560 Emacs[29141:60f] An uncaught exception was raised
> > 2022-04-20 17:40:19.560 Emacs[29141:60f] *** -getRed:green:blue:alpha: not 
> > defined for the NSColor NSCustomColorSpace Device RGB colorspace 0 0 0 1; 
> > need to first convert colorspace.
> > 2022-04-20 17:40:19.561 Emacs[29141:60f] *** Terminating app due to 
> > uncaught exception 'NSInvalidArgumentException', reason: '*** 
> > -getRed:green:blue:alpha: not defined for the NSColor NSCustomColorSpace 
> > Device RGB colorspace 0 0 0 1; need to first convert colorspace.'
> 
> Hi Keith,
> 
> Can you please try a couple of things?
> 
> In nsterm.m, in the function colorUsingDefaultColorSpace can you
> change deviceRGBColorSpace to genericRGBColorSpace?
> 
> If that makes no difference, then in the function unsignedlong just
> below it can you try changing
> 
>     [self getRed:&r green:&g blue:&b alpha:&a];
> 
> to
> 
>     [[self colorUsingDefaultColorSpace] getRed:&r green:&g blue:&b alpha:&a];
> 
> if that makes no difference, can you try both changes together?
> 
> Thanks!
> --
> Alan Third

Attachment: unsignedlong.txt
Description: application/txt

Attachment: colorUsingDefaultColorSpace.txt
Description: application/txt

Attachment: both_changes.txt
Description: application/txt


reply via email to

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