From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alex Gramiak Newsgroups: gmane.emacs.devel Subject: Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef Date: Tue, 14 May 2019 09:51:50 -0600 Message-ID: <87o945ghk9.fsf@gmail.com> 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="18039"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 14 17:52:35 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 1hQZjG-0004U2-1O for ged-emacs-devel@m.gmane.org; Tue, 14 May 2019 17:52:34 +0200 Original-Received: from localhost ([127.0.0.1]:50148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQZj9-0003yj-MY for ged-emacs-devel@m.gmane.org; Tue, 14 May 2019 11:52:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQZiX-0003yS-Qf for emacs-devel@gnu.org; Tue, 14 May 2019 11:51:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQZiV-0004Xw-UR for emacs-devel@gnu.org; Tue, 14 May 2019 11:51:49 -0400 Original-Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:39332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQZiV-0004VD-OB for emacs-devel@gnu.org; Tue, 14 May 2019 11:51:47 -0400 Original-Received: by mail-pf1-x42f.google.com with SMTP id z26so9362255pfg.6 for ; Tue, 14 May 2019 08:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=NbnOQDXM1DbM4StakrO84kVDnCVZRkjqVgoM4X9MATo=; b=o4bBongSaum+oGHVCNkLu72qtl3yvvw5sguu972607xv+t2jIXCnigw70hL+5C7cIb 2vcS+R2S8xCmwA9aKi1cuC1b35E1yUeyTbiAogbRGJrNg3U8R3dgPSlyZt5+oGdObc1L 2oXkLGSDQV9BRK0/aY8oEAjw7utp7QGiOXUks/AxoMC8spczvbF6H7fE7CI5BLuhxIcA 2kfQCStDU2KjYLxR1XeDvnywYBUc6zic6AzOJGbbLi/lxY+US1roG2vmVuop4bcug1Fk swncdsoU0bknoY3lRdvd1Gklhd2dQPJ6j6YN8MpIR6sNuRKdiNOYCDVBFnWSlT1g6Q4B oktQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NbnOQDXM1DbM4StakrO84kVDnCVZRkjqVgoM4X9MATo=; b=DBnHwffeb47BQjUAS2Qv4W+Qlj6RHEyw+t5nbLlgfSma640XnlSJynKR+U4CyFvK8k z/FEjRAPiBKCoO6VmM+H+7YcnGtyWRQrl40ocxaQZ9ianU5wMWmZudm0cbXu3NSDXpvp M/WKBerpNIOvW2AeFDIx3/+eBm5SP8VxHNfVOV3YVi+tTguCI+l1kl3vna4fYg039YiI zPyQZaEL84tSXYrwKo7bzsAGaMbLq898H87D2+XUjG4CbQuPch2DEXQuOMuFdLNxEZFc pDxZJdVdNobiclRn3XShjqfj4tAsfsOYQ+WDmdCX3KBgAXoCPWZWd76ksJVoCFis9wcC J9IQ== X-Gm-Message-State: APjAAAXaqSjLmKvPYEI/kyA/dHT200Ri/MGovxqiHw0llxnarZpZ7mma bjY7LeTtanOk+CZkqMGiACOoyVyk X-Google-Smtp-Source: APXvYqz+imkaQ2S4CQBMZNQQHn5SfNuIzA18rNMfg1BAsRn/NpyLUQOlytQ7MzVrpcd2J2dqeKLPgw== X-Received: by 2002:a63:6dca:: with SMTP id i193mr37427247pgc.353.1557849106224; Tue, 14 May 2019 08:51:46 -0700 (PDT) Original-Received: from lylat ([2604:3d09:e37f:1500:1a72:4878:e793:7302]) by smtp.gmail.com with ESMTPSA id a66sm16039179pfa.89.2019.05.14.08.51.44 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 May 2019 08:51:45 -0700 (PDT) In-Reply-To: (Robert Pluim's message of "Tue, 14 May 2019 17:32:07 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42f 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:236508 Archived-At: Robert Pluim writes: >>>>>> 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. Whoops, I missed another one. Should be fixed now. > 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, Same here.