datasone / ClevoControl

Control keyboard backlight and fan policy for Clevo Hackintosh
MIT License
32 stars 6 forks source link

Error in building ClevoControl.kext #2

Closed JesseVelden closed 6 years ago

JesseVelden commented 6 years ago

I get an error trying to build ClevoControl.kext.
On line 64 of ClevoControl.cpp I get an error: Too few arguments provided to function-like macro invocation. Maybe some weird Xcode behaviour?

datasone commented 6 years ago

Thanks for putting up this, it seems Apple deprecated strcpy (maybe in 10.13? I don't know) , so now using strlcpy instead. Fixed in f0ccc5ef58f5304c9a07b4e3d2108b76997e3492.