unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31845: 27.0.50; Error building master on MacOS
@ 2018-06-15 16:05 John Mastro
  2018-06-15 16:56 ` John Mastro
  0 siblings, 1 reply; 5+ messages in thread
From: John Mastro @ 2018-06-15 16:05 UTC (permalink / raw)
  To: 31845

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





^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <20180517203706.10244-1-ambrevar@gmail.com>]

end of thread, other threads:[~2018-06-16 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-15 16:05 bug#31845: 27.0.50; Error building master on MacOS John Mastro
2018-06-15 16:56 ` 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

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).