all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Alex Gramiak <agrambot@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef
Date: Tue, 14 May 2019 17:32:07 +0200	[thread overview]
Message-ID: <m2a7fp3vd4.fsf@gmail.com> (raw)
In-Reply-To: <87sgthgjcj.fsf@gmail.com> (Alex Gramiak's message of "Tue, 14 May 2019 09:13:16 -0600")

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



  reply	other threads:[~2019-05-14 15:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190513175241.9359.28585@vcs0.savannah.gnu.org>
     [not found] ` <20190513175245.1B38320664@vcs0.savannah.gnu.org>
2019-05-14  8:07   ` scratch/X_Typedefs 09c65d6 5/7: Introduce Emacs_GC struct and typedef Robert Pluim
2019-05-14 15:13     ` Alex Gramiak
2019-05-14 15:32       ` Robert Pluim [this message]
2019-05-14 15:51         ` Alex Gramiak
2019-05-14 15:58           ` Robert Pluim
2019-05-14 16:11             ` Alex Gramiak
2019-05-14 18:47               ` Eli Zaretskii
2019-05-14 19:43                 ` Stefan Monnier
2019-05-14 20:02                   ` Alex Gramiak
2019-05-14 19:48                 ` Alex Gramiak
2019-05-15 16:22                   ` Eli Zaretskii
2019-05-15 18:59                     ` Alex Gramiak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2a7fp3vd4.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=agrambot@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.