From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28 on OSX: emacsclient.c:1415: warning: implicit declaration of function 'openat' Date: Thu, 21 Apr 2022 06:09:00 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7851"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , Paul Eggert , emacs-devel@gnu.org To: Keith David Bershatsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 21 07:09:59 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhP4o-0001oi-7P for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 07:09:58 +0200 Original-Received: from localhost ([::1]:57688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhP4m-0002Uh-UM for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 01:09:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhP42-0001og-Tt for emacs-devel@gnu.org; Thu, 21 Apr 2022 01:09:11 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:39803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhP40-0003TN-KS for emacs-devel@gnu.org; Thu, 21 Apr 2022 01:09:10 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4B804261; Thu, 21 Apr 2022 05:09:05 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1650517744; bh=hX8VOC2pnNsXmp2a7X4+E6Ere6wp9KI7vtSoRfpVyFo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U53YkhwoNaOyOkKa00zaH0V3UomO9mG1Wx7AE4XFZH3cscFhIaVJ6PfqjlvqFSfVP qJ+MIbWqhb1oCbCCMxo/O6u1NVq5j69ozi5WqN7bESRmT7eYolCZj4qF/47HfGgYOK 7q0tHqfaYFJUmjaRKYr7AuibT/wgLiECNkcwfrAsHgkt19c0rDhFcK1wqT32pl3HBt wTqiEj40qULvjqDaRLuvLpA4ewJiNhxJPtoGxWlGG5wMxlMYt+rCvo///7G6UE8wpV l/gk9m1/t2qEwApTFvUyo+eMDFgEc3Gg1+tXKlTwqB+MTEFMdZVvPLKMgNNrdPyPmk bjwIhau9mGuHw== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95) (envelope-from ) id 1nhP3s-000fbU-KL; Thu, 21 Apr 2022 06:09:00 +0100 Mail-Followup-To: Alan Third , Keith David Bershatsky , emacs-devel@gnu.org, Po Lu , Mattias =?iso-8859-1?Q?Engdeg=E5rd?= , Paul Eggert Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=116.202.126.228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288738 Archived-At: 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