unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: John Mastro <john.b.mastro@gmail.com>
To: 31845@debbugs.gnu.org
Subject: bug#31845: 27.0.50; Error building master on MacOS
Date: Fri, 15 Jun 2018 09:05:53 -0700	[thread overview]
Message-ID: <CAOj2CQR1bF=+019G0VtMgTUdcb2+JVcKFUv=wzzvPMQY-BPXug@mail.gmail.com> (raw)

Hello,

I get the following warnings and error when building master at 3e7dff8
on MacOS 10.13.5 (High Sierra).

macfont.m:911:27: warning: passing 'CFStringRef' (aka 'const struct
__CFString *')
      to parameter of type 'void *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
                  Fcons (make_mint_ptr (name), make_number (traits)));
                                        ^~~~
./lisp.h:2389:22: note: passing argument to parameter 'a' here
make_mint_ptr (void *a)
                     ^
macfont.m:911:47: error: use of undeclared identifier 'traits'
                  Fcons (make_mint_ptr (name), make_number (traits)));
                                                            ^
macfont.m:987:35: warning: passing 'CFTypeRef' (aka 'const void *') to parameter
      of type 'void *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
  value = string ? make_mint_ptr (CFRetain (string)) : Qnil;
                                  ^~~~~~~~~~~~~~~~~
./lisp.h:2389:22: note: passing argument to parameter 'a' here
make_mint_ptr (void *a)
                     ^
2 warnings and 1 error generated.
make[2]: *** [macfont.o] Error 1
make[1]: *** [src] Error 2
make: *** [bootstrap] Error 2

Thanks

        John





             reply	other threads:[~2018-06-15 16:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15 16:05 John Mastro [this message]
2018-06-15 16:56 ` bug#31845: 27.0.50; Error building master on MacOS John Mastro
2018-06-15 17:25   ` Andy Moreton
2018-06-15 19:12     ` John Mastro
     [not found] <20180517203706.10244-1-ambrevar@gmail.com>
     [not found] ` <376d786a-bd59-2878-22f2-16f4297be1b0@cs.ucla.edu>
     [not found]   ` <87h8m2ogfo.fsf@gnu.org>
2018-06-16 16:32     ` Paul Eggert

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAOj2CQR1bF=+019G0VtMgTUdcb2+JVcKFUv=wzzvPMQY-BPXug@mail.gmail.com' \
    --to=john.b.mastro@gmail.com \
    --cc=31845@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).