You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is an issue you can work around in an efficient way.
In contrast to macros like __DATE__, __TIME__, or __LINE__, __func__ is actually an implicitly created constant not known to the preprocessor. This would have worked with __FUNCTION__ in old versions of GCC (I think), but since by now that macro also just points at __func__, I don't think there's any simple way around this other than inserting function names by hand (or doing some macro magic).
And even if you could work around this, you'd probably be lost due to AY_OBFUSCATE() inserting a lambda, which inside would feature a different value for __func__.
hello.when i use marco
__func__
withAY_OBFUSCATE()
,the complier throw this error:how can i use
__func__
with AY_OBFUSCATE? thanks :)The text was updated successfully, but these errors were encountered: