GCC compiler gives me the following macros:
__FILE__
__LINE__
I know that MSVC offers __FILE__ and __LINE__, both of which are Standard macros. They also offer __FUNCTION__, which I believe is what you're looking for,
__FUNCTION__