I've got a log macro that looks something like this:
#define LOG(formatString, ...) \
{ Log( TEXT(__FUNCTION__) TEXT(" ") ## formatString TEXT("\r\n"), ##__VA_ARGS__); }
It compiles and works fine, however it seems to trip up visual studio intellisense which underlines all uses of the macro in red with the error:
IntelliSense: identifier "L__FUNCTION__" is undefined
I'm thinking of raising this to microsoft, but in the meantime, is there a workaround that is as efficient at runtime which will not trip intellisense up?