[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: |
Robert Pluim |
Subject: |
Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef |
Date: |
Tue, 14 May 2019 17:32:07 +0200 |
>>>>> 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.
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
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Robert Pluim, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Alex Gramiak, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef,
Robert Pluim <=
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Alex Gramiak, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Robert Pluim, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Alex Gramiak, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Eli Zaretskii, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Stefan Monnier, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Alex Gramiak, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Alex Gramiak, 2019/05/14
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Eli Zaretskii, 2019/05/15
- Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef, Alex Gramiak, 2019/05/15