From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef Date: Tue, 14 May 2019 17:32:07 +0200 Message-ID: References: <20190513175241.9359.28585@vcs0.savannah.gnu.org> <20190513175245.1B38320664@vcs0.savannah.gnu.org> <87sgthgjcj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197512"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Alex Gramiak Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 14 17:32:37 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQZPx-000pCK-4d for ged-emacs-devel@m.gmane.org; Tue, 14 May 2019 17:32:37 +0200 Original-Received: from localhost ([127.0.0.1]:49933 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQZPw-0006dp-16 for ged-emacs-devel@m.gmane.org; Tue, 14 May 2019 11:32:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQZPg-0006cW-W3 for emacs-devel@gnu.org; Tue, 14 May 2019 11:32:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQZPf-0002An-1g for emacs-devel@gnu.org; Tue, 14 May 2019 11:32:20 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:51406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQZPa-00022C-Tj for emacs-devel@gnu.org; Tue, 14 May 2019 11:32:15 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id o189so3363491wmb.1 for ; Tue, 14 May 2019 08:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-followup-to:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=MGQvLqcK9gGRo7C7iSZFEqn0AqD+FLJX6uzs/lDuy2Y=; b=GKmGu+eeCFYBSKJ9GXH+kFJtdlTLtWVExVG97n4B9lquI7q8jvo1lvcuHBHymcOriW o27GiTDoOC230MY+pObdkMXDPZ0CYaZK/0Vx06l7+dVd920SxwJ4OrMHMdNGNeGOTdQC xbiqf12GObSunm/0TeAggeqP3E4caKj+oo/pWwWi9tBd/5GvrMevslSQFNAQXPRg3D7u AbFi7uVIdGUxezBv+vE2Ao8+1oywMboF/f0013HBzR/2ldKeAgXvSUgFDSRNnlQN5UqE XyJ4cHLbb9w8mYrrMrsrrtYDqNiOgMg2aL1JT3T8dfe1ngJ9L204iQ/V8THIZ+SIYy+m PCzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-followup-to :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :mime-version; bh=MGQvLqcK9gGRo7C7iSZFEqn0AqD+FLJX6uzs/lDuy2Y=; b=gKPNxqsakMIsVapwMyia+NJY7VmAPMYq7ZA0Ku4tJ+jOMnnhJdW44fIq3+ouwAHCXn XhhwfL4BBjlizHuXC0t5vHoV+a6F0VpWWJ4ZoBWRr9jNr9TGpyWls0Us5VSsCF7AismW 17sf2BZqt3r7/KMOAzJlKwkuFqMfkfSrShV6tuBmZqKZnBSexOd9edhZTlZp/1N+7HdP 5CifpYMkcSfbq++ajajEjYWrxY1gVHvzMh4Rl7LxQF8+3cjXFznpqj7ZVIuXpgK+6pfn qkzozNq2qECIdjjGXXaM1kEVcPLuLmXogtTpxVZbqMvji7PauzrQkvff7+P63BuTlU8Q LMYQ== X-Gm-Message-State: APjAAAXSvaXbj3T72k0FinTR9Vg+f5c+qX3Ji2Odym+TCJXIPNptyEDi kYDA1Y2xRkXodY6ta8ipoFQiUPjm X-Google-Smtp-Source: APXvYqydgOehXM9cYlHUogEimycj6cjEF245RPmdUot8W5hggE4xy0ABT+PfS4NuQ0FwWrLf4EkbFQ== X-Received: by 2002:a1c:20d7:: with SMTP id g206mr19045719wmg.136.1557847929981; Tue, 14 May 2019 08:32:09 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id c11sm16814449wrs.86.2019.05.14.08.32.08 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 14 May 2019 08:32:08 -0700 (PDT) Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <87sgthgjcj.fsf@gmail.com> (Alex Gramiak's message of "Tue, 14 May 2019 09:13:16 -0600") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236506 Archived-At: >>>>> On Tue, 14 May 2019 09:13:16 -0600, Alex Gramiak said: Alex> Sorry, I pushed a fix for that. It gets a bit further now: CC xfaces.o xfaces.c:542:8: error: unknown type name 'GC' static GC ^ xfaces.c:549:10: warning: incompatible pointer to integer conversion returning 'Emacs_GC *' from a function with result type 'int' [-Wint-conversion] return gc; ^~ 1 warning and 1 error generated. make: *** [xfaces.o] Error 1 CC macfont.o macfont.m:1662:19: warning: incompatible pointer types initializing 'void (*)(struct font *, const unsigned int *, int, struct font_metrics *)' with an expression of type 'void (struct font *, unsigned int *, int, struct font_metrics *)' [-Wincompatible-pointer-types] .text_extents = macfont_text_extents, ^~~~~~~~~~~~~~~~~~~~ macfont.m:2738:1: error: conflicting types for 'macfont_text_extents' macfont_text_extents (struct font *font, const unsigned int *code, int nglyphs, ^ macfont.m:1642:13: note: previous declaration is here static void macfont_text_extents (struct font *, unsigned int *, int, ^ macfont.m:2821:49: warning: 'graphicsPort' is deprecated: first deprecated in macOS 10.14 [-Wdeprecated-declarations] context = [[NSGraphicsContext currentContext] graphicsPort]; ^~~~~~~~~~~~ CGContext /System/Library/Frameworks/AppKit.framework/Headers/NSGraphicsContext.h:111:28: note: property 'graphicsPort' is declared deprecated here @property (readonly) void *graphicsPort NS_RETURNS_INNER_POINTER NS_DEPRECATED_WI... ^ /System/Library/Frameworks/AppKit.framework/Headers/NSGraphicsContext.h:111:28: note: 'graphicsPort' has been explicitly marked deprecated here 2 warnings and 1 error generated. make: *** [macfont.o] Error 1