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: Thu, 21 Apr 2022 06:09:00 +0100

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



reply via email to

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