emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typede


From: Alex Gramiak
Subject: Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef
Date: Tue, 14 May 2019 09:51:50 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Robert Pluim <address@hidden> writes:

>>>>>> On Tue, 14 May 2019 09:13:16 -0600, Alex Gramiak <address@hidden> 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.



reply via email to

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