MagicKit
MagicKit copied to clipboard
Build error missing attribute overloadable on getstrc function
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!
+1
I was afraid to overload another function, so I simply renamed it with an underscore to _getstrc, and everything works fine now.
+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.