all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* NS build broken
@ 2015-01-30 10:40 Matthew Leach
  2015-01-30 13:45 ` Jan D.
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Leach @ 2015-01-30 10:40 UTC (permalink / raw)
  To: emacs-devel

Hi all,

I'm trying to build current master (c9d238316c6a4bb1) on OSX 10.10.1.
It's failing when trying to compile macfont.m:

--8<---------------cut here---------------start------------->8---
  CC       macfont.o
macfont.m:226:53: warning: implicit conversion from enumeration type 'CharacterCollection' (aka 'enum CTCharacterCollection') to different enumeration type 'NSCharacterCollection'
      (aka 'enum NSCharacterCollection') [-Wenum-conversion]
                                         collection:collection
                                                    ^~~~~~~~~~
macfont.m:1483:44: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
                                           mac_uvs_table_adobe_japan1_bytes,
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           mac_uvs_table_adobe_japan1
macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
          static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
                           ^
macfont.m:1484:52: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
                                           sizeof (mac_uvs_table_adobe_japan1_bytes),
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                   mac_uvs_table_adobe_japan1
macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
          static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
                           ^
macfont.m:1483:44: warning: incompatible pointer types passing 'CFDataRef' (aka 'const struct __CFData *') to parameter of type 'const UInt8 *' (aka 'const unsigned char *') [-Wincompatible-pointer-types]
                                           mac_uvs_table_adobe_japan1_bytes,
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:23:78: note: passing argument to parameter 'bytes' here
CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
                                                                             ^
2 warnings and 2 errors generated.
--8<---------------cut here---------------end--------------->8---

Thanks,
-- 
Matt



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NS build broken
  2015-01-30 10:40 NS build broken Matthew Leach
@ 2015-01-30 13:45 ` Jan D.
  2015-01-30 13:58   ` Matthew Leach
  0 siblings, 1 reply; 5+ messages in thread
From: Jan D. @ 2015-01-30 13:45 UTC (permalink / raw)
  To: Matthew Leach, emacs-devel

Try make distclean and then configure again.

	Jan D.

Matthew Leach skrev den 2015-01-30 11:40:
> Hi all,
>
> I'm trying to build current master (c9d238316c6a4bb1) on OSX 10.10.1.
> It's failing when trying to compile macfont.m:
>
> --8<---------------cut here---------------start------------->8---
>    CC       macfont.o
> macfont.m:226:53: warning: implicit conversion from enumeration type 'CharacterCollection' (aka 'enum CTCharacterCollection') to different enumeration type 'NSCharacterCollection'
>        (aka 'enum NSCharacterCollection') [-Wenum-conversion]
>                                           collection:collection
>                                                      ^~~~~~~~~~
> macfont.m:1483:44: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
>                                             mac_uvs_table_adobe_japan1_bytes,
>                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                                             mac_uvs_table_adobe_japan1
> macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
>            static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
>                             ^
> macfont.m:1484:52: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
>                                             sizeof (mac_uvs_table_adobe_japan1_bytes),
>                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                                                     mac_uvs_table_adobe_japan1
> macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
>            static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
>                             ^
> macfont.m:1483:44: warning: incompatible pointer types passing 'CFDataRef' (aka 'const struct __CFData *') to parameter of type 'const UInt8 *' (aka 'const unsigned char *') [-Wincompatible-pointer-types]
>                                             mac_uvs_table_adobe_japan1_bytes,
>                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:23:78: note: passing argument to parameter 'bytes' here
> CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
>                                                                               ^
> 2 warnings and 2 errors generated.
> --8<---------------cut here---------------end--------------->8---
>
> Thanks,
>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NS build broken
  2015-01-30 13:45 ` Jan D.
@ 2015-01-30 13:58   ` Matthew Leach
  2015-01-30 18:02     ` Jan D.
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Leach @ 2015-01-30 13:58 UTC (permalink / raw)
  To: Jan D.; +Cc: emacs-devel

Hi Jan,

"Jan D." <jan.h.d@swipnet.se> writes:

> Try make distclean and then configure again.

I still have the same issue.  I even tried running `git clean -dfx' and
the issue persisted.

>
>
> 	Jan D.
>
> Matthew Leach skrev den 2015-01-30 11:40:
>> Hi all,
>>
>> I'm trying to build current master (c9d238316c6a4bb1) on OSX 10.10.1.
>> It's failing when trying to compile macfont.m:
>>
>> --8<---------------cut here---------------start------------->8---
>>    CC       macfont.o
>> macfont.m:226:53: warning: implicit conversion from enumeration type 'CharacterCollection' (aka 'enum CTCharacterCollection') to different enumeration type 'NSCharacterCollection'
>>        (aka 'enum NSCharacterCollection') [-Wenum-conversion]
>>                                           collection:collection
>>                                                      ^~~~~~~~~~
>> macfont.m:1483:44: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
>>                                             mac_uvs_table_adobe_japan1_bytes,
>>                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>                                             mac_uvs_table_adobe_japan1
>> macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
>>            static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
>>                             ^
>> macfont.m:1484:52: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
>>                                             sizeof (mac_uvs_table_adobe_japan1_bytes),
>>                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>                                                     mac_uvs_table_adobe_japan1
>> macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
>>            static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
>>                             ^
>> macfont.m:1483:44: warning: incompatible pointer types passing 'CFDataRef' (aka 'const struct __CFData *') to parameter of type 'const UInt8 *' (aka 'const unsigned char *') [-Wincompatible-pointer-types]
>>                                             mac_uvs_table_adobe_japan1_bytes,
>>                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:23:78: note: passing argument to parameter 'bytes' here
>> CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
>>                                                                               ^
>> 2 warnings and 2 errors generated.
>> --8<---------------cut here---------------end--------------->8---
>>
>> Thanks,
>>
>

-- 
Matt



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NS build broken
  2015-01-30 13:58   ` Matthew Leach
@ 2015-01-30 18:02     ` Jan D.
  2015-01-31 11:25       ` Matthew Leach
  0 siblings, 1 reply; 5+ messages in thread
From: Jan D. @ 2015-01-30 18:02 UTC (permalink / raw)
  To: Matthew Leach; +Cc: emacs-devel

What does git status say?

	Jan D.

Matthew Leach skrev den 2015-01-30 14:58:
> Hi Jan,
>
> "Jan D." <jan.h.d@swipnet.se> writes:
>
>> Try make distclean and then configure again.
>
> I still have the same issue.  I even tried running `git clean -dfx' and
> the issue persisted.
>
>>
>>
>> 	Jan D.
>>
>> Matthew Leach skrev den 2015-01-30 11:40:
>>> Hi all,
>>>
>>> I'm trying to build current master (c9d238316c6a4bb1) on OSX 10.10.1.
>>> It's failing when trying to compile macfont.m:
>>>
>>> --8<---------------cut here---------------start------------->8---
>>>     CC       macfont.o
>>> macfont.m:226:53: warning: implicit conversion from enumeration type 'CharacterCollection' (aka 'enum CTCharacterCollection') to different enumeration type 'NSCharacterCollection'
>>>         (aka 'enum NSCharacterCollection') [-Wenum-conversion]
>>>                                            collection:collection
>>>                                                       ^~~~~~~~~~
>>> macfont.m:1483:44: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
>>>                                              mac_uvs_table_adobe_japan1_bytes,
>>>                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>                                              mac_uvs_table_adobe_japan1
>>> macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
>>>             static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
>>>                              ^
>>> macfont.m:1484:52: error: use of undeclared identifier 'mac_uvs_table_adobe_japan1_bytes'; did you mean 'mac_uvs_table_adobe_japan1'?
>>>                                              sizeof (mac_uvs_table_adobe_japan1_bytes),
>>>                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>                                                      mac_uvs_table_adobe_japan1
>>> macfont.m:1478:28: note: 'mac_uvs_table_adobe_japan1' declared here
>>>             static CFDataRef mac_uvs_table_adobe_japan1 = NULL;
>>>                              ^
>>> macfont.m:1483:44: warning: incompatible pointer types passing 'CFDataRef' (aka 'const struct __CFData *') to parameter of type 'const UInt8 *' (aka 'const unsigned char *') [-Wincompatible-pointer-types]
>>>                                              mac_uvs_table_adobe_japan1_bytes,
>>>                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h:23:78: note: passing argument to parameter 'bytes' here
>>> CFDataRef CFDataCreateWithBytesNoCopy(CFAllocatorRef allocator, const UInt8 *bytes, CFIndex length, CFAllocatorRef bytesDeallocator);
>>>                                                                                ^
>>> 2 warnings and 2 errors generated.
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> Thanks,
>>>
>>
>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NS build broken
  2015-01-30 18:02     ` Jan D.
@ 2015-01-31 11:25       ` Matthew Leach
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Leach @ 2015-01-31 11:25 UTC (permalink / raw)
  To: Jan D.; +Cc: emacs-devel

"Jan D." <jan.h.d@swipnet.se> writes:

> What does git status say?

Ah, yes.  For some reason a header file had modifications to it.

Sorry for the noise.
-- 
Matt



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-31 11:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 10:40 NS build broken Matthew Leach
2015-01-30 13:45 ` Jan D.
2015-01-30 13:58   ` Matthew Leach
2015-01-30 18:02     ` Jan D.
2015-01-31 11:25       ` Matthew Leach

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.