Mantle / MTLManagedObjectAdapter

Core Data support for Mantle

Home Page:https://github.com/Mantle/Mantle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building error on Xcode 6.3

hankbao opened this issue · comments

Got this error when using carthage to integrate MTLManagedObjectAdapter:

MTLManagedObjectAdapter/MTLManagedObjectAdapter.m:754:41: error: comparison
of array 'attributes->type' not equal to a null pointer is always true

attributes->type != NULL

It seems that changing type from char[] to char* can fix this error. So this may actually relate to libextobjc.

This is a legitimate warning/error. A NULL comparison is useless because the character array is embedded in the structure allocation itself.

But, ideally, this would be fixed upstream in libextobjc. 😉

I see. Thanks for your reply.

When could this be fixed? I don't like warnings. Thanks.

+1 is this in the works?

Please do not +1 issues. If you want to see it fixed sooner, please submit a pull request (upstream to libextobjc, as mentioned).

I believe this is fixed by #23 now.

Yep, thanks!