I move the project to older dependencies to support older OSs, starting with Windows 7 、 but then there is a problem with the transfer, in the 2017 version I pulled the function names through the __func__ macro, but in the 2010 version it gives me:
error C2065: '__func__`': undeclared identifier
Is it possible to transfer this macro, functions are simply unrealistically large numbers, and rewriting each name takes a very large amount of time?
UPD: Forgot to warn, you need the name of the function without a prefix of the class those. not libvlc::get_errmsg that returns the macro __FUNCTION__, but get_errmsg .