MagicKit icon indicating copy to clipboard operation
MagicKit copied to clipboard

Build error missing attribute overloadable on getstrc function

Open andj207 opened this issue 10 years ago • 3 comments

Hi, I've just get this framework and put into my project. When I rebuilded it, an error that say "getstrc must have overloadable attribute" in the apprentice.c. I added the attribute attribute((overloadable)) before the function and all work well.

Just let you know this issuse.

Thanks for the great framework!

andj207 avatar Jul 30 '14 03:07 andj207

+1

stanislaw avatar Aug 08 '14 22:08 stanislaw

I was afraid to overload another function, so I simply renamed it with an underscore to _getstrc, and everything works fine now.

yepthatsjason avatar Oct 01 '14 05:10 yepthatsjason

+1

I am using Cocoapods. And it is not good practice to change code to resolve conflict for getstrc function. I think it should be updated in master Branch.

ankushkushwaha avatar Sep 26 '16 11:09 ankushkushwaha