[Top][All Lists]

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

Re: Preview: portable dumper

From: Daniel Colascione
Subject: Re: Preview: portable dumper
Date: Thu, 15 Feb 2018 14:02:03 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

On 02/15/2018 12:35 PM, Alan Third wrote:
On Thu, Feb 15, 2018 at 11:49:30AM -0800, Daniel Colascione wrote:
Thanks for checking. If you disable Wconversion at the top of the
file, you should be able to unblock yourself. The warning helps make
the code robust, but it's annoying to account for compiler

Thanks, I’ve got it to build and it seems to work fine.

Here are the changes I had to make:

All fixed, I think.
@@ -1646,7 +1646,7 @@ static int macfont_variation_glyphs (struct font *, int c,
                                       unsigned variations[256]);
  static void macfont_filter_properties (Lisp_Object, Lisp_Object);
-static struct font_driver const macfont_driver =
+static struct font_driver macfont_driver =
    .type = LISPSYM_INITIALLY (Qmac_ct),
    .get_cache = macfont_get_cache,
@@ -4034,6 +4034,18 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor 

Why did you have to remove the const?

reply via email to

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